#1213 - Setting up Cron
Hi,
I am trying to install your add-on on my AWS instance (bitnami). I installed the module and I added the following line in my cron job by running cron -e and adding the following line: _* * * * * cd /opt/bitnami/apps/sugarcrm/htdocs; php -f cron.php > /dev/null 2>&1 _
However, I still see the above instruction when I go to the scheduler page (attached). What else do I need to do to get the schedulers started?
9 years ago
Hi abbas,
You need to setup your cron job for your Sugar Instance to run the all Sugar Schedulers.
Please have a look on following URL to get an idea about how to setup cron job.
http://www.thesitewizard.com/general/set-cron-job.shtml
Once your cron job will be set, you will be able to get your data Synced. Please do write to us if you get any issue in syncing process.
Regards Rolustech Support
9 years ago
I did, this is the output when I run crontab -l (there is a NEWLINE at the end). However, my schedulers are not running.
Edit this file to introduce tasks to be run by cron.
Each task to run has to be defined through a single line
indicating with different fields when the task will be run
and what command to run for the task
To define the time you can provide concrete values for
minute (m), hour (h), day of month (dom), month (mon),
and day of week (dow) or use '*' in these fields (for 'any').
Notice that tasks will be started based on the cron's system
daemon's notion of time and timezones.
Output of the crontab jobs (including errors) is sent through
email to the user the crontab file belongs to (unless redirected).
For example, you can run a backup of all your user accounts
at 5 a.m every week with:
0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
For more information see the manual pages of crontab(5) and cron(8)
m h dom mon dow command
9 years ago
It seems that the editor changed the formatting of my output. Except the last line, which is *** * * * * cd /opt/bitnami/apps/sugarcrm/htdocs; php -f cron.php > /dev/null 2>&1**, the first few lines are commented.
9 years ago
Hi abbas,
You need to contact your IT/Network persons to setup your cron job for your Sugar Instance.
Regards Rolustech Support