[squid-users] Squid Report not working

From: <Jim_Brouse/PYT@dont-contact.us>
Date: Wed, 13 Aug 2003 09:41:34 -0700

I have a report that I am trying to run with the below script. I use
crontab to start the job although the job never seems to start.

Does the script look good, do you see any problems?

How can I tell why it failed or if it did attempt to run at the scheduled
time?

 cat /etc/cron.d/sarg.weekly
#!/bin/bash

#Get current date
TODAY=$(date +%d/%m/%Y)

#Get one week ago today
LASTWEEK=$(date --date "7 days ago" +%d/%m/%Y)

/usr/bin/sarg -d $LASTWEEK-$TODAY

exit 0

Jim
Received on Wed Aug 13 2003 - 10:41:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:53 MST