![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab couldn't run through, help | duke0001 | UNIX for Advanced & Expert Users | 10 | 02-05-2008 11:22 PM |
| help with crontab | bob122480 | Shell Programming and Scripting | 3 | 01-22-2007 04:49 PM |
| Mistake in caculating Benchmark Average | pja | UNIX Benchmarks | 0 | 02-27-2006 04:15 PM |
| Crontab | lo-lp-kl | UNIX for Dummies Questions & Answers | 2 | 05-05-2005 03:21 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Crontab Mistake!!!
Hi. I hope someone can help me with this problem.
Being a novice to Unix, I editted my crontab directly by typing " crontab -e ". Well, I needed to make some changes so, I typed " crontab -r ". Now I have no crontab, and I can't seem to get crontab to write a new file. I' ve tried: vi somefile crontab somefile I get the following errors: crontab: crontab: error on previous line; unexpected character found in line. What might be my options from here. Any help will be greatly appreciated. |
| Forum Sponsor | ||
|
|
|
|||
|
Thanks for your suggestions. I have corrected the problem
by recreating a root crontab file and placing it in the /usr/spool/crontabs directory. Now when I type "crontab -l" I see the new crontab file I created; however, when I try to overwrite my exisiting crontab file with the command "crontab somefile." I still get the following error: crontab: error on previous line; unexpected character found in line Also, when I try editting the file with the crontab -e command I can't save the file without the creating multiple text lines after pressing the escape key. I am using the vi editor. |