0

I added a cron job with crontab -e. Then, I changed the timezone.

However, it seems as if the cron job is still firing in the old timezone.

Do I need to restart it cron? (e.g. service cron reload)

Thanks.

0

Yes, you need to restart cron. However, service cron reload only reloads configuration files, and doesn't apply the new timezone. Use this (similar) command:

service cron restart

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.