Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Legacy Forums
General Discussion (Legacy)
Topic:
run cron part 2
« previous
next »
+
Print
Pages: [
1
]
Go Down
run cron part 2
1 Replies
361 Views
Sonny
run cron part 2
«
on:
March 23, 2003, 10:25:27 PM »
hi!
I have now figured out how to set up and run a cron job every 5 minuts (an update of web stats.)....
but i get an e-mail every 5 minuts now saying what the cron job did
---- snip of mail ----
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
Update for config "/home/e-smith/files/ibays/awstats/cgi-bin/awstats.www.domain.dk.conf"
With data in log file "/var/log/httpd/access_log"...
Phase 1 : First bypass old records, searching new record...
Phase 2 : Now process new records (Flush history on disk after 16000 uniques)...
Lines in file: 6742
Found 6305 dropped records,
Found 3 corrupted records,
Found 417 old records,
Found 17 new qualifed records.
--- end of mail ----
Is it posibil to just delete this messag, so i wont get around 264 mail's pr. 24 houers..... ??
Logged
Bill Talcott
Re: run cron part 2
«
Reply #1 on:
March 24, 2003, 07:10:14 PM »
Edit the script so that the command doesn't output anything. You'll get emails containing anything that a script displays... Add " > /dev/null" at the end of the command.
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Legacy Forums
General Discussion (Legacy)
Topic:
run cron part 2