Computing.Net > Forums > Unix > Edited entries in Crontab don't run

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.

Edited entries in Crontab don't run

Reply to Message Icon

Name: Aoife
Date: May 23, 2003 at 02:13:37 Pacific
OS: Solaris 2.6
CPU/Ram: 1
Comment:

I edited the Crontab to change the time our database is shutdown nightly.
I vi the crontab file directly.

When I issue crontab -l the change is listed.
The database however shuts down at the original time every night.

Is there some step I am missing in editing the crontab.

I also tried issuing crontab cronfile and I get the error

crontab: can't open your crontab file.

Any help would be appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: May 23, 2003 at 07:05:44 Pacific
Reply:

You say that you 'vi the crontab file directly'. Do you mean that you don't use
"crontab -e"??

If not, my guess would be that the changes aren't being submitted to the cron daemon (just guessing about how it works).

So, if you are not, try using "crontab -e"


0

Response Number 2
Name: PhilPain
Date: June 15, 2003 at 22:25:14 Pacific
Reply:

If not using -e option... You can also input the file you are using to store the crontab lists...

eg If you have a file named "cronlist" , vi that and save then fire up crontab by inputting the file.. Like this:

crontab cronlist


0

Response Number 3
Name: PhilPain
Date: June 17, 2003 at 21:56:47 Pacific
Reply:

That should have a redirect "less than" character between...
"crontab cronlist"
Not displaying in here properly....


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Edited entries in Crontab don't run

Can't Run Cgi Scripts www.computing.net/answers/unix/cant-run-cgi-scripts/3224.html

Awk to edit field in file www.computing.net/answers/unix/awk-to-edit-field-in-file/8482.html

Don't know which material is good? www.computing.net/answers/unix/dont-know-which-material-is-good/2164.html