CeilBleu

we are in the same roof as learntera.com

cron job on solaris 10

leave a comment »

here is some ways to enabled cron job on solaris 10.

bash-3.00# export EDITOR=vi
bash-3.00# crontab -e root

* * * * * command to be executed
- – – – -
| | | | |
| | | | +—– day of week (0 – 6) (Sunday=0)
| | | +——- month (1 – 12)
| | +——— day of month (1 – 31)
| +———– hour (0 – 23)
+————- min (0 – 59)

ex:
* * * * * /apps/logs/bluecoat/bcscript.sh
configuration above will execute “bcscript.sh” script on “/apps/logs/bluecoat/” every minute
restart the cron service daemon with the following command:

bash-3.00# svcadm restart cron
bash-3.00# svcs cron
STATE STIME FMRI
online 13:42:07 svc:/system/cron:default

a litle differencess on checkoint connectra:

to edit cron configuration, type these following command:

connectra1

to restart cron service daemon type these following command

connectra2

references:
http://www.adminschoice.com/docs/crontab.htm


Written by hhan

April 2, 2008 at 2:53 pm

Posted in Linux/Unix, O.S.

Leave a Reply

You must be logged in to post a comment.