Hi,
I'm very new to Unix so please bear with me...
Here is my requirement:
I need to create a cron job to run two different scripts at 1 a.m. every day.
Here's what I did:
I used the "crontab -e" command and created a crontab file using the
vi editor.
When I exit the editor using
:wq, the file is created in the
/var/spool/cron/crontabs directory under my username.
Typing the command "crontab -l" lists the cron jobs.
Here's my problem:
When I type
exit and log off, the cron jobs are stopped and the crontab file with my username becomes empty!!! When I log back on and type "crontab -l", nothing is listed.
Here's my question:
How do I create a crontab such that the cron jobs specified remain alive even after I log off?
System is Solaris 9.
Thanks a lot for any advice given.