Mailinglist Archive: opensuse (2859 mails)
| < Previous | Next > |
[opensuse] Re: cron problems
- From: Joachim Schrod <jschrod@xxxxxxx>
- Date: Wed, 09 May 2007 17:59:52 +0200
- Message-id: <f1sr5o$107$1@xxxxxxxxxxxxx>
G T Smith wrote:
Please be careful: Mohamed's approach of creating a file with that content in /etc/cron.d/ is perfectly valid, and this is also the right syntax for these files (with the user). Therefore, it *should* work, and we need more information to debug his problem.
Cron reads more than /etc/crontab and the personal crontab files, it also reads /etc/cron.d/*, as explained in the 2nd paragraph of man cron.
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mohamed Haidar wrote:
Hello guys, I have a problem with cron. I got a program for updating my
ip to a internet dns host and i set it up correctly. The program works.
Now with the program came a file that i putt in the /etc/cron.d dir
because the program instructed me to do that. Basically what I want to
do is to let the program run once a minute. The file I putt in the
cron.d dir contains these entries :
* * * * * root /usr/bin/ipdetect.sh
*/15 * * * * root /usr/bin/ipdetect.sh -p host -r browser -c
The above lines should be either be added to the /etc/crontab file.
Please be careful: Mohamed's approach of creating a file with that content in /etc/cron.d/ is perfectly valid, and this is also the right syntax for these files (with the user). Therefore, it *should* work, and we need more information to debug his problem.
Cron reads more than /etc/crontab and the personal crontab files, it also reads /etc/cron.d/*, as explained in the 2nd paragraph of man cron.
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |