Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
[SOLVED] Cron job working every minute instead of the time scheduled
[SOLVED] Cron job working every minute instead of the time scheduled
Hi guys, I'm trying to run two cron tasks, one every two hours and the other one every four hours.
The thing is that the tasks run every minute! And I really don't know why... :(
I'm using debian 8 jessie and those are my settings:

Does anybody know what happens?? Thanks a lot!! :)
The thing is that the tasks run every minute! And I really don't know why... :(
I'm using debian 8 jessie and those are my settings:

Does anybody know what happens?? Thanks a lot!! :)
Last edited by neiklot on Thu Feb 04, 2016 8:45 am, edited 1 time in total.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Cron job working every minute instead of the time scheduled
Change your minute from * to 0. Because * means run every minute and 0 only runs at minute 00.
Re: Cron job working every minute instead of the time scheduled
Thanks! I'll give it a try!
EDIT: Thanks a lot! Now it works! :)
EDIT: Thanks a lot! Now it works! :)