Monday, 27 September 2010

Define Cron Job at Solaris Machine

Open the Solaris command prompt and follow the below steps:

1. Run command
   export EDITOR=vi

2. Run command
    crontab -e

3. VI editor shall be opened. Press key 'i' and paste cron job
     Example:
     1 3 * * * /export/home/myfile.sh

4. Press key 'Esc' and write :wq

5. Check using below command whether job has been added successfully
    crontab -l