Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to automatically run a command in qmailcrl every hour 1

Status
Not open for further replies.

pdotd

Programmer
Jun 15, 2004
29
CA
i was wondering if anyone knew the code to run a command every hour in the qmailctl script

pdotd
 
I told you once about this. It is NOT in qmailctl.
You do it with CRON!

edit /etc/crontab and add an entry like this:

* */1 * * * root killall qmail-smtpd


Then restart your crond service.

AND THEN PLEASE go read about using CRON so that you can help yourself.


Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top