update
This commit is contained in:
parent
4aa8111f98
commit
c72fb8b625
46 changed files with 361 additions and 47 deletions
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=moodle adhoc task
|
||||
StartLimitIntervalSec=120
|
||||
StartLimitBurst=10
|
||||
|
||||
[Service]
|
||||
user=www-data
|
||||
group=www-data
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=60s
|
||||
StandardOutput=null
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/php /usr/share/moodle/admin/cli/adhoc_task.php -e -k=3600
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue