![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab couldn't run through, help | duke0001 | UNIX for Advanced & Expert Users | 10 | 02-06-2008 12:22 AM |
| help with crontab | bob122480 | Shell Programming and Scripting | 3 | 01-22-2007 05:49 PM |
| Crontab | gen4ik | UNIX for Dummies Questions & Answers | 1 | 01-18-2007 04:26 AM |
| ftp and crontab | user` | Shell Programming and Scripting | 27 | 11-13-2006 05:02 PM |
| Crontab | lo-lp-kl | UNIX for Dummies Questions & Answers | 2 | 05-05-2005 03:21 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help regarding crontab
Dear All
jobs are scheduled in crontab . To view this I use crontab -l . But suddenly today I am not able to see any jobs that is being scheduled in crontab. when I type crontab -l , I am seeing nothing.I am not logging through admin user(i dont have it).But I can schedule jobs through crontab. 1. WHY this ? 2. Is there any way to recover scheduled jobs in crontab ? Thanks TKB |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
tkbharani, most likely, your crontab file has been truncated/removed. You can check that by using 'ls -l /var/spool/cron/crontabs/your_user_name'. This will show whether your file exists and is zero bytes or doesn't exist at all (though I think that it would give you a different message in that case).
Regarding restoration of the file, you will have to talk to the administrators. They should be able to restore this from any OS backup. |
|
#3
|
|||
|
|||
|
hi
Quote:
Code:
crontab -e Code:
crontab -l perhaps you did this. mfg guenter |
|
#4
|
|||
|
|||
|
Hi
With the crontab I would use it by making a file. Make a crontab file in your home dir. Then you can allways restore it when your crontab is missing. vi crontab.yourname finished. give this command ... crontab crontab.yourname Then is your crontab active from that file.. to remove a crontab .... crontab -r Problems can accure when use "crontab -e" sometime changes are not made. when you are in the edite mode. So all ways check after changes. |
|||
| Google The UNIX and Linux Forums |