How to edit/list crontab in Sun Solaris and Unix

In Unix/Linux editing crontab is simple by using crontab –e, but in Solaris this command doesn’t work, Because In Unix default edition is vi but in Solaris it is not set as default. So to work with crontab like Unix in Solaris we need to explicitly make vi editor as working editor. 

Following is the command:

bash-3.00$ export EDITOR=vi
bash-3.00$ crontab –e

Command to list crontab is same in Unix and Solaris

[oracle@ admin]$ crontab -l

No comments:

Post a Comment