Place the commands in file, execute the file to diagnose. Then call the file
from cron
 
#!/bin/sh
#
# SPAM database for the ASSP SMTP proxy
#
# Where is ASSP (edit)
BASE=/spam
Cd $BASE
Date > nightly.txt
Perl rebuildspamdb.pl >> nightly.txt

Give it xecute permissions and call with
 
./nightly.sh
 
 
-------Original Message-------
 
From: Bob Coffman Jr - Info From Data
Date: 22/12/2006 13:33:54
To: 'Questions and Answers for users of ASSP Anti-Spam SMTP Proxy'
Subject: Re: [Assp-user] Help with a cron entry
 
Not sure - perhaps perl isn't in the path?
 
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Temple
Sent: Thursday, December 21, 2006 12:47 PM
To: [email protected]
Subject: [Assp-user] Help with a cron entry


I've discovered that the cron job I have set up to rebuild the spamdb isn't
working. Could someone let me know where I've gone wrong?

My ASSP install is in root. Here is my crontab entry:

30 23 * * * cd /root/assp;perl rebuildspamdb.pl

It should be rebuilding every night at 11:30, but it's not.

Thanks for any insight.

- Robert

 

<<attachment: faint_grain.jpg>>

Attachment: imstp_chubbi_en_by_im.gif
Description: GIF image

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to