[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] More Crontab Issues
- Subject: Re: [cobalt-users] More Crontab Issues
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Wed Aug 9 16:00:31 2000
> On Tue, 8 Aug 2000, Daren Cotter wrote:
>
> > As a test to getting crontab to work, I added the following line to my
> > crontab.master file:
> >
> > 15 10 * * * root /home/sites/home/users/admin/aw/aw-parser.pl -vw
> > 17 10 * * * root /home/sites/home/users/admin/aw/aw-report.pl -vw
> >
> > This should run the first script at 10:15 and the second at 10:17.
However,
> > it just doesn't run! I get no errors, the thing just does not run. The
> > scripts are chmodded to 755, and yes I did stop and restart crond...any
> > ideas?
>
> Do the files have the path to perl at the beginning? cron's not to smart
> about starting scripts that need interpreters...
>
> or start the line with an implicit call to perl so you get at least a
> complaint from perl which tends to be more helpfill...
>
what I did with accesswatch was to edit /etc/crontab with lines like these.
30 23 * * * /usr/bin/perl5.00404 /home/stats/aw/aw-parser -c
/home/stats/aw/cfg/marilyn.cfg
45 23 * * * /usr/bin/perl5.00404 /home/stats/aw/aw-report -c
/home/stats/aw/cfg/marilyn.cfg -d
and then made a separate config file for each site.
I don't use it anymore though after the author wanted me to pay a fortune
for it and I thought it was crap anyway. We had problems getting accurate
information and it makes lot's of little files that cause problems in time.
I recommend
http://www.accessprobe.com/
Zeffie