How to edit crontab in Sun Solaris
First time I edited crontab file in Solaris was when I wanted to schedule my system to always synchronized to NTP server. It is set in the crontab file.
On Linux and BSD, just run command “crontab -e” to edit the crontab.
It is different on Solaris system, you need to specify the editor program to use. In Linux and BSD are set by default to use vi editor.
To set editing crontab file to use vi editor, run the following command:
bash# export EDITOR=vi
You can now edit your crontab as Linux and BSD system
bash# crontab -e #ident "@(#)root 1.19 98/07/06 SMI" /* SVr4.0 1.1.3.1 */ # # The root crontab should be used to perform accounting data collection. # # The rtc command is run to adjust the real time clock if and when # daylight savings time changes. # 10 3 * * * /usr/sbin/logadm 15 3 * * 0 /usr/lib/fs/nfs/nfsfind 1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c > /dev/null 2>&1 30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean #10 3 * * * /usr/lib/krb5/kprop_script ___slave_kdcs___ #Run ntpdate at 4:40 everyday 40 4 * * * /usr/sbin/ntpdate -b asia.pool.ntp.org 1> /dev/null 2>&1
Incoming search terms for this post:
- solaris crontab
- crontab solaris
- cron solaris
- solaris cron
- crontab in solaris
- crontab sun
- crontab on solaris
- how to edit crontab solaris
- how to edit crontab in solaris 10
- solaris edit crontab
- edit crontab on solaris
- crontab sun solaris
- edit crontab solaris
- sun solaris crontab
- solaris crontab file

