[Gllug] Help with cron
Xander D Harkness
xander at harkness.co.uk
Thu Oct 25 10:11:47 UTC 2001
What happens if you make it executable by 'other'?
Cheers
Xander
On Wed, 2001-10-24 at 22:04, Robert Wood wrote:
> Hiya,
> I need a little help please :)
>
> right, i have made a sh file to run the command to build graphs from
> squid using squid-graph as follows;
>
> #!/bin/sh
> /usr/local/squid-graph/bin/squid-graph -o=/home/httpd/html/ipac
> --cumulative --tcp-only --no-transfer-duration \
> < /var/log/squid/access.log
>
> and then i have edited crontab and put
>
> */5 * * * * root /usr/local/squid-graph/bin/make-squid-graph
>
> in to run that file every 5 mins, when i tail /var/log/cron it shows
> that it run ok;
>
> root (10/24-20:30:00-1740) CMD
> (/usr/local/squid-graph/bin/make-squid-graph)
>
> but it hasnt actually made the updated graphs, however but it does
> update them if you run /usr/local/squid-graph/bin/make-squid-graph
> manually :( so obviosuly I dont wanna be running it manually every 5
> mins, so what am I doing wrong please???
>
> (btw this is running on smoothwall, I know a lot of you hate smoothwall,
> but please help :))
>
> -rob
>
>
> --
> Gllug mailing list - Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list