I have a command in "/etc/crontab" which runs a database program every 7 days. Now, I see that this command has been commented by another user for 2 weeks. I immediately uncommented the line, and today I see that this command has not been executed by crontab.
Why? I think after restarting /etc/init.d/cron restart, crontab would restart and see the command line, which says to execute a command every 7 days. Then when is it going to start that program! isn't it immediately at the start of service crond restarting? it seems not.
I cannot wait 7 days for the program now, I want crontab to start the this 7 days from tonight. how can I do that?
the script is:
0 0 */7 * * root source /opt/db_maintain/run.sh