LinuxQuestions.org
(
/questions/
)
-
Linux - General
(
https://www.linuxquestions.org/questions/linux-general-1/
)
- -
Schedule a script every three hours
(
https://www.linuxquestions.org/questions/linux-general-1/schedule-a-script-every-three-hours-154561/
)
dkochan
03-07-2004 09:53 AM
Schedule a script every three hours
How do I schedule this command:
Quote:
for i in /etc/webalizer/*.conf; do webalizer -c $i; done
to run every three hours. This command has to run as root. I am looking to run webalizer (a web log analyzer program) .
trickykid
03-07-2004 10:18 AM
If you have a script, set it up to run using cron.
man cron
All times are GMT -5. The time now is
06:28 PM
.