|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Schedule a script to run at certain in Solaris
Hi,
I am using Solaris (Sun OS 5.9). I would like to run a script at 9 pm every Sunday. How to schedule a task to run this script? I am totally newbie to Solaris, pls help!!! Many many thanks! |
|
#2
|
||||
|
||||
|
what you need are cronjobs.
|
|
#3
|
|||
|
|||
|
Quote:
Hello, read man cron, man crontabs. You must edit the cron file as follows (provided you are logged in as root): crontab -e Now you are in vi editor, add the line 0 21 * * 0 absolute_path_to_script and store it. This will cause the script to run every Sunday at 9 o'clock PM. Regards ![]() |
|
#4
|
||||
|
||||
|
Quote:
Almost correct. Each account has its own set of cronned jobs, so anyone should be able to run crontab -e, not just the root account.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month Looking for a perl job with kick-*** programmers in a well-known NASDAQ listed tech company with branches in the US and Europe? We're hiring. PM me for details. Requirements |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Schedule a script to run at certain in Solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|