Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Crontab issuing GET

Crontab issuing GET

2006-03-20       - By Rick Stevens

 Back
Reply:     1     2     3     4  

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