Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have to install many cron jobs on my machines. I have a script which will copy /var/spool/cron/root onto the machines. Once the file is placed on the machine, I then have crond restarted.
When I do "crontab -l" I do see the jobs listed but, I noticed that they are not started at anytime. I tried "crond reload" and that doesn't work.
After the file is in place, what do I have to reload? I must be missing what crontab does automatically during an edit.
You shouldn't have to restart anything, cron will pick up the new file automatically. I wouldn't personally recommend managing jobs with a root crontab, instead I use /etc/crontab as the system wide table. How are you checking these haven't loaded? what does /var/log/cron say?
the format is wrong, *\1 should be */1, but is just the same as * by itself. again, using /etc/crontab would be preferable. I guess crond checks that file automatically, as opposed to the per-user crontab files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.