Computing.Net > Forums > Linux > crontab doesnt detect changes!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

crontab doesnt detect changes!

Reply to Message Icon

Name: mongar
Date: December 9, 2007 at 08:30:41 Pacific
OS: redhat ES 4U5
CPU/Ram: 1
Product: hp
Comment:

Hi,
after changing /var/spool/crontab/user with the time and script i want to be schedualed for running , i need to restart crond daemon
for the changes to be uploaded to the system.
does it relate to some old/new cron version?
how can i make it detect changes automatically?
thanks in advanced



Sponsored Link
Ads by Google

Response Number 1
Name: wollie
Date: December 9, 2007 at 22:56:58 Pacific
Reply:

Hi Mongar,
how did you change the specific crontab ? Did you use "crontab -e" ? Then it will be refreshed automatically after saving the changes, no restart of the daemon is required.

cheers

Wollie


0

Response Number 2
Name: mongar
Date: December 10, 2007 at 01:10:56 Pacific
Reply:

Dear Wollie,
thanks for the response i havent edited
the file from crontab -e you are right.
but after i did edited the file from crontab -u user -e its still not working.
my cron tab log shows me only this input:

Dec 10 10:44:01 LNX-TEST crond[20973]: (user) RELOAD (cron/user)
Dec 10 10:44:20 LNX-TEST crontab[3015]: (root) LIST (user)
Dec 10 10:47:06 LNX-TEST crontab[3085]: (user) LIST (user)
Dec 10 10:47:28 LNX-TEST crontab[3093]: (user) BEGIN EDIT (user)
Dec 10 10:47:34 LNX-TEST crontab[3093]: (user) END EDIT (user)
Dec 10 10:50:01 LNX-TEST crond[3139]: (root) CMD (/usr/lib/sa/sa1 1 1)
Dec 10 10:52:21 LNX-TEST crontab[3265]: (user) BEGIN EDIT (user)
Dec 10 10:52:38 LNX-TEST crontab[3265]: (user) REPLACE (user)
Dec 10 10:52:38 LNX-TEST crontab[3265]: (user) END EDIT (user)
Dec 10 10:53:01 LNX-TEST crond[20973]: (user) RELOAD (cron/user)


thanks in advanced
mongar


0

Response Number 3
Name: wollie
Date: December 12, 2007 at 02:23:26 Pacific
Reply:

Mongar,

please post the changed entry.

wollie


0

Response Number 4
Name: mongar
Date: December 17, 2007 at 07:56:52 Pacific
Reply:

hi,
here is the entry i entered via crontab -e:
34 17 * * * date >> /tmp/dates.txt
which didnt work for me.

thanks


0

Response Number 5
Name: wollie
Date: December 18, 2007 at 03:08:02 Pacific
Reply:

no clue !
The entry is correct and does (!) work on SuSe and Tru64 Unix.
Did you really edit the crontab file for that user ? Editing the file will sometimes result in queer effects.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: crontab doesnt detect changes!

Linux doesn´t detect ISND modem www.computing.net/answers/linux/linux-doesnt-detect-isnd-modem/2882.html

Mouse not detected www.computing.net/answers/linux/mouse-not-detected/18187.html

Unable to detect the partition www.computing.net/answers/linux/unable-to-detect-the-partition/19862.html