Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
This is the error when i type crontab -e and save for a user in solaris 10
"/tmp/crontabzWai5I" 1 line, 16 characters
The editor indicates that an error occurred while you were
editing the crontab data - usually a minor typing error.
Edit again, to ensure crontab information is intact (y/n)?
('n' will discard edits.)
in that case make sure an individual record does not span 2 lines.
if it does remove the new line and try again. so it shows a $ or similar instead of the new line.
to see if there is no other crontab editing running and then (re)move the temporary file from /tmp. Set the EDITOR to vi and try again to edit crontab.
At only 16 characters, it is pretty likely there is an error in the file. A minimal crontab entry would be:
Code:
* * * * * /x
which is 13 characters including the newline. Unless the script is located in the root and its file name is only 4 characters (eg. /abcd), there's an error.
What happens when you enter the command ?
What is the crontab content looking like ?
What error message do you get when saving the file and leaving the editor ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.