|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
How to run a script at a given time
Hello there,
I have a script that needs to be run daily. It is called sophos.sh and is used to update our Anti Virus software. How can I tell if this script is getting run daily ? How do I make it run daily if it sin't already ? cheers, Adam |
|
#2
|
|||
|
|||
|
Hey Adam
I think that you shall use cron for the job. I don't know much about it, but there are tons of information about the subject on the Internet. / Martin Soendergaard |
|
#3
|
|||
|
|||
|
>> How can I tell if this script is getting run daily ?
Check your cron log. >> How do I make it run daily if it sin't already ? Say 01:50 PM daily: 50 13 * * * /full/server/path/to/sophos.sh There is an active sample of root's crontab at /etc/crontab so go read it before I have to say RTFM to you next time. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > How to run a script at a given time |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|