bailoo / itrack

Location Tracking for Everyone
3 stars 2 forks source link

Cronjob problem #57

Closed rizcompeer closed 9 years ago

rizcompeer commented 9 years ago

Not working when we want to run script at specific hour and minute.

Ex: We have to run at 12:20 AM. 20 00 * * * /mnt/test_cron.sh >> $HOME/ml.log 2>&1

We need to do it on Analytics server, but it is not working on other server too.

bailoo commented 9 years ago

This was fixed by $sudo service cron restart The timezone was changed to IST but since the cron was not restarted it was still reading in UTC.

I have done it on all Analytics, Listener and Web Server; so you do not have to redo. Just test.