G T Smith wrote:
-----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@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org