Tuesday, November 23, 2010

CronTab

Hi,
Please open a terminal and type crontab -e and press enter. The vi editor will open in command mode, press the I key to enter INSERT mode, Type the following line, substituting the full path for the one shown below, into the vi editor:

00 17 * * * /usr/bin/ksh run.ksh

Press the ESC key to exit INSERT mode and return to command mode, Type :wq to save and exit the file.
You can also specify a user that you want to setup a crontab entry for by doing the following command:

#crontab -e -u <user>

You'll want to replace the <user> with the username which you wish to set the crontab entry for.