27 lines
1.5 KiB
YAML
27 lines
1.5 KiB
YAML
---
|
|
|
|
- name: Cron task for processing the secure-server queue
|
|
cron: name="mtinfo (tm) - processqueue" minute="*" hour="*" day="*" month="*"
|
|
user=mtinfo3000 job="/usr/bin/php /var/www/mtinfo3000/mtitm/webroot/index.php --execute secureserver/processqueue >> /var/log/di-web/mtitm_cron.log 2>&1"
|
|
cron_file=mtitm state=present
|
|
|
|
- name: Cron task for processing the report queue
|
|
cron: name="mtinfo (tm) - report process" minute="*" hour="*" day="*" month="*"
|
|
user=mtinfo3000 job="/usr/bin/php /var/www/mtinfo3000/mtitm/webroot/index.php --execute report/process >> /var/log/di-web/mtitm_cron.log 2>&1"
|
|
cron_file=mtitm state=present
|
|
|
|
- name: Cron task for regenerating sign in/out codes for the app
|
|
cron: name="mtinfo (tm) - regenerateSignCodes" minute="*/5" hour="*" day="*" month="*"
|
|
user=mtinfo3000 job="/usr/bin/php /var/www/mtinfo3000/mtitm/webroot/index.php --execute project/regenerateSignCodes >> /var/log/di-web/mtitm_cron.log 2>&1"
|
|
cron_file=mtitm state=present
|
|
|
|
- name: Cron task for updating GPS
|
|
cron: name="mtinfo (tm) - updateGps" minute="5" hour="*" day="*" month="*"
|
|
user=mtinfo3000 job="/usr/bin/php /var/www/mtinfo3000/mtitm/webroot/index.php --execute device/updategps >> /var/log/di-web/mtitm_cron.log 2>&1"
|
|
cron_file=mtitm state=present
|
|
|
|
- name: Cron task for cleaning tmp dir
|
|
cron: name="mtinfo (tm) - clean tmp" minute="0" hour="23" day="*" month="*"
|
|
user=mtinfo3000 job="/bin/rm -rf /var/www/mtinfo3000/tmp/*"
|
|
cron_file=mtitm state=present
|