Article View: alt.privacy.anon-server
Article #269118Crontab Email Error Message
From: Red John
Date: Thu, 24 Jul 2014 20:48
Date: Thu, 24 Jul 2014 20:48
36 lines
1969 bytes
1969 bytes
When I implement the cron jobs below I get these email messages everytime the job is executed: Here's the email: No LSB modules are available. GenuineIntel GenuineIntel Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz Linux 2.6.32-042stab090.5 i686 Distributor ID: Debian Description: Debian GNU/Linux 7.5 (wheezy) Release: 7.5 Codename: wheezy /etc/Servstats/lstats.sh: 1: /etc/Servstats/lstats.sh: Bad substitution /etc/Servstats/lstats.sh: 1: /etc/Servstats/lstats.sh: Bad substitution /etc/Servstats/lstats.sh: 87: /etc/Servstats/lstats.sh: Syntax error: +redirection unexpected Here's the crontab entries: # Retrieve stastics for server web page - cron job */15 5-20 * * * /etc/Servstats/lstats.sh redjohn 00 00 * * * /etc/Servstats/lstats.sh redjohn # Total pool processed today - cron job */5 * * * * /etc/Servstats/poolcount.sh Can someone explain what's wrong with the entries in my crontab that would be causing the emails above? Right now I have the crontab entries pounded out, which means my stats are not being updated unless I do it manually.
Technical Details
Message-ID:
<20140724204841.1C4C0EAB1E@snorky.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!news.mixmin.net!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <20140724204841.1C4C0EAB1E@snorky.mixmin.net> Subject: Crontab Email Error Message Date: Thu, 24 Jul 2014 20:48:41 +0000 From: Red John <redjohn@nym.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!news.mixmin.net!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mail Newsgroups: alt.privacy.anon-server Lines: 37 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net X-Received-Bytes: 1503 X-Received-Body-CRC: 2264930398