blueeyedme
Technical User
Hello,
I have a script on solaris 8 that restarts the cron every night.
This is by just doing
/etc/init.d/cron stop
/etc/init.d/cron start
Now i also need to make this script more intelligent to let it check the OS version of solaris.
In case of solaris 10 it needs to do
scvadm cron restart
How can i achieve this in a shell script?
Thanks,
I have a script on solaris 8 that restarts the cron every night.
This is by just doing
/etc/init.d/cron stop
/etc/init.d/cron start
Now i also need to make this script more intelligent to let it check the OS version of solaris.
In case of solaris 10 it needs to do
scvadm cron restart
How can i achieve this in a shell script?
Thanks,