Hi all,
I’ve just installed an instance of Dolibarr 18.0.3 and I’ve made the following setup.
-
setup mail to be sent via SMTP - verified and the test emails are delivered without any problem
-
I’ve created a test event and set it up to remind me via Email (ignore the interface language please)
-
I’ve gone to Cron jobs and set up a job for Agenda memento sending to run every minute (please note the ! sign, the job hasn’t run - bullet 1) but If I hit the “play” button, the email with the reminder is sent.
-
I’ve tried to set up a cron job in CPanel but I can’t get the correct setup from the UNIX section
Can someone help me set up the correct syntax for the cron job in Cpanel?
I much appreciate any piece of advice.
For correct syntax look inside /etc/crontab for examples
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
Please notice that a additional user-name is required.
For me it looks like this:
*/15 * * * * root /var/httpd/scripts/cron/cron_run_jobs.php b8d6iSYMGetxV2sdMR587gt4lklx5Exn admin >> /var/httpd/documents/cron_run_jobs.php.log
Run every 15min and append results to logfile