smeserver-vtigercrm/root/etc/e-smith/templates/etc/crontab/vtigercrm

23 lines
1.0 KiB
Plaintext

{
if (($vtigercrm{'CronJobs'} || 'disabled') eq 'enabled'){
$OUT .=<<"HERE";
# Vtiger Cron Jobs
*/5 * * * * www wget --no-check-certificate https://localhost/vtigercrm/cron/intimateTaskStatus.php -O /dev/null 2> /dev/null
*/5 * * * * www wget --no-check-certificate https://localhost/vtigercrm/vtigercron.php?service=MailScanner -O /dev/null 2> /dev/null
*/5 * * * * www wget --no-check-certificate https://localhost/vtigercrm/vtigercron.php?service=RecurringInvoice -O /dev/null 2> /dev/null
*/5 * * * * www wget --no-check-certificate https://localhost/vtigercrm/vtigercron.php?service=com_vtiger_workflow -O /dev/null 2> /dev/null
*/5 * * * * www wget --no-check-certificate https://localhost/vtigercrm/SendReminder.php -O /dev/null 2> /dev/null
*/5 * * * * www wget --no-check-certificate https://localhost/vtigercrm/SendSupportNotification.php -O /dev/null
HERE
}
else{
$OUT .= "\n\n# VtigerCRM Cron Jobs are disabled\n" .
"# To enable them:\n" .
"# db configuration setprop vtigercrm CronJobs enabled\n" .
"# signal-event webapps-update";
}
}