  | | | Crontab issuing GET | Crontab issuing GET 2006-03-20 - By Rick Stevens
Back On Sat, 2006-03-18 at 09:20 -0800, Roger Harrell wrote: > Ok, that worked. Now explain to me why doing it this way worked. It ends > up placing a file in /etc/cron.d with the exact same permissions of the > file I created manually. > > So the manual which states: > " The cron daemon checks the etc/crontab file, the etc/cron.d/ > directory, and the /var/spool/cron directory every minute for any > changes. If any changes are found, they are loaded into memory. Thus, > the daemon does not need to be restarted if a crontab file is changed." > > Means that it picks up changes in /etc/cron.d to files that it's already > aware of, but will not pick up new files?
That's correct. cron caches the names of the files available when it starts up and checks those. If you add a file, it needs to be restarted.
> -- Original -- > Try with crontab -e logging with your user ID and give > > 15 3 * * * /usr/bin/GET http://path > > Thanks > > Best regards > Bala > > -- --Original Message-- -- > From: redhat-install-list-bounces@(protected) > [mailto:redhat-install-list-bounces@(protected)] On Behalf Of Roger > Harrell > Sent: Friday, March 10, 2006 6:06 AM > To: redhat-install-list@(protected) > Subject: Crontab issuing GET > > I need some help with the way RH Linux 9 handles it's crontab. I have > need to have a cron that issues a GET request. I have tried the > following in /etc/crontab: 15 3 * * * /usr/bin/GET http://path > And > 15 3 * * * GET http://path > > I've also tried creating a file in both /etc/cron.d and /var/spool/cron > containing each of these two commands. The command works from a command > line with any user I've tested it with. It seems that the cron simply > isn't excecuting, but I get nothing in the cron daily report about it. > Any clues what I'm missing? > > Thanks, > Roger > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Redhat-install-list mailing list > Redhat-install-list@(protected) > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request@(protected) > Subject: unsubscribe -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- - Rick Stevens, Senior Systems Engineer rstevens@(protected) - - VitalStream, Inc. http://www.vitalstream.com - - - - You know the old saying--any technology sufficiently advanced is - - indistinguishable from a Perl script - - --Programming Perl, 2nd Edition - -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |