After Upgrade to 3.0.0.7 all my users not receiving quarantine reports. Report runs fine when launched manually from /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php
Looks like the upgrade broke the existing EFA Crons.
Anyone else having this issue??
Can anyone shoot me a list of their cron.daily.
THX
Quarentine Reports Cron Job missing after upgrade to 3.0.0.7
- Socal_Steve
- Posts: 30
- Joined: 20 Mar 2014 20:10
- Location: Laguna Beach, California, USA
- Contact:
Re: Quarentine Reports Cron Job missing after upgrade to 3.0.0.7
Don't use it (yet).
cron.daily folder
cron.daily folder
- Attachments
-
- Unbenannt.JPG (19.05 KiB) Viewed 6643 times
-
- Posts: 33
- Joined: 29 Aug 2014 11:27
Re: Quarentine Reports Cron Job missing after upgrade to 3.0.0.7
I have noticed this,
I am having to run both the reports php and the maint one to clean up the var directory and truncate my quarantine logs.
Is there a fix for this yet?
I am having to run both the reports php and the maint one to clean up the var directory and truncate my quarantine logs.
Is there a fix for this yet?
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Quarentine Reports Cron Job missing after upgrade to 3.0.0.7
My /etc/cron.daily/mailwatch cron has this and is executable...
Is this what you have?
Code: Select all
#!/bin/sh
/usr/local/bin/mailwatch/tools/Cron_jobs/db_clean.php >> /dev/null 2>&1
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_maint.php --clean >> /dev/null 2>&1
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php >> /dev/null 2>&1
- Socal_Steve
- Posts: 30
- Joined: 20 Mar 2014 20:10
- Location: Laguna Beach, California, USA
- Contact:
Re: Quarentine Reports Cron Job missing after upgrade to 3.0.0.7
I'm still running manually as i haven't had the time to look deep at this one.
my listings are the same in /etc/cron.daily/mailwatch.
when i grep the cron log for db_clean.php i get nothing
here is my daily cron section from the log.
it shows it ran but nothing happened...
Mar 31 03:30:21 dredge run-parts(/etc/cron.daily)[22482]: starting mailwatch
Mar 31 03:30:28 dredge run-parts(/etc/cron.daily)[23385]: finished mailwatch
tomorrow i'll try
my listings are the same in /etc/cron.daily/mailwatch.
when i grep the cron log for db_clean.php i get nothing
here is my daily cron section from the log.
Code: Select all
Mar 31 03:30:01 dredge CROND[23295]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Mar 31 03:30:21 dredge run-parts(/etc/cron.daily)[23354]: finished logrotate
Mar 31 03:30:21 dredge run-parts(/etc/cron.daily)[22482]: starting mailwatch
Mar 31 03:30:28 dredge run-parts(/etc/cron.daily)[23385]: finished mailwatch
Mar 31 03:30:28 dredge run-parts(/etc/cron.daily)[22482]: starting makewhatis.cron
Mar 31 03:31:50 dredge run-parts(/etc/cron.daily)[612]: finished makewhatis.cron
Mar 31 03:31:50 dredge run-parts(/etc/cron.daily)[22482]: starting mlocate.cron
Mar 31 03:31:55 dredge run-parts(/etc/cron.daily)[636]: finished mlocate.cron
Mar 31 03:31:55 dredge run-parts(/etc/cron.daily)[22482]: starting prelink
Mar 31 03:32:36 dredge run-parts(/etc/cron.daily)[3042]: finished prelink
Mar 31 03:32:36 dredge run-parts(/etc/cron.daily)[22482]: starting readahead.cron
Mar 31 03:32:36 dredge run-parts(/etc/cron.daily)[3054]: finished readahead.cron
Mar 31 03:32:36 dredge run-parts(/etc/cron.daily)[22482]: starting tmpwatch
Mar 31 03:32:37 dredge run-parts(/etc/cron.daily)[3093]: finished tmpwatch
Mar 31 03:32:37 dredge run-parts(/etc/cron.daily)[22482]: starting update_spamassassin
Mar 31 03:40:01 dredge CROND[3560]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Mar 31 03:41:15 dredge run-parts(/etc/cron.daily)[3821]: finished update_spamassassin
Mar 31 03:41:15 dredge anacron[20821]: Job `cron.daily' terminated
it shows it ran but nothing happened...
Mar 31 03:30:21 dredge run-parts(/etc/cron.daily)[22482]: starting mailwatch
Mar 31 03:30:28 dredge run-parts(/etc/cron.daily)[23385]: finished mailwatch
tomorrow i'll try
Code: Select all
run-parts /etc/cron.daily
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Quarentine Reports Cron Job missing after upgrade to 3.0.0.7
I think this is a shell issue.
Change
to
in /etc/cron.daily/mailwatch
Change
Code: Select all
#!/bin/sh
Code: Select all
#!/bin/bash
- Socal_Steve
- Posts: 30
- Joined: 20 Mar 2014 20:10
- Location: Laguna Beach, California, USA
- Contact:
Re: Quarentine Reports Cron Job missing after upgrade to 3.0.0.7
Looks like that was the problem. once changed from sh to bash all is well.
THANKS SHAWN
THANKS SHAWN
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact: