Re: cron job not executing

2012-05-06 Thread Tony Baldwin
On Sun, May 06, 2012 at 11:24:44AM +, Camaleón wrote: > On Sat, 05 May 2012 18:26:30 -0400, Tony Baldwin wrote: > > > I've got a little cron job, > > just trying to fire off a script (see http://tonyb.us/mattbot ) and it's > > not firing. > > > > I have other jobs on the same crontab that do.

Re: cron job not executing

2012-05-06 Thread Tony Baldwin
On Sun, May 06, 2012 at 02:07:08AM +0300, Adrian Fita wrote: > On 06/05/12 01:26, Tony Baldwin wrote: > > I've got a little cron job, > > just trying to fire off a script (see http://tonyb.us/mattbot ) > > and it's not firing. > > [...] > > > Probably something really obvious I'm overlooking, bu

Re: cron job not executing

2012-05-06 Thread Martin McCormick
=?iso-8859-1?q?Camale=F3n?= writes: > Here is a good collection of the common reasons why a cron job does not > engage: > > http://askubuntu.com/questions/23009/reasons-why-crontab-does-not-work One thing you can do is to set an "at" job to run your script once. Go to the directory you wa

Re: cron job not executing

2012-05-06 Thread Camaleón
On Sat, 05 May 2012 18:26:30 -0400, Tony Baldwin wrote: > I've got a little cron job, > just trying to fire off a script (see http://tonyb.us/mattbot ) and it's > not firing. > > I have other jobs on the same crontab that do. When I run the script > manually, it runs. (...) Here is a good colle

Re: cron job not executing

2012-05-05 Thread Patrick Wiseman
On Sat, May 5, 2012 at 6:26 PM, Tony Baldwin wrote: > I've got a little cron job, > just trying to fire off a script (see http://tonyb.us/mattbot ) > and it's not firing. > > I have other jobs on the same crontab that do. > When I run the script manually, it runs. [...] > Probably something real

Re: cron job not executing

2012-05-05 Thread Adrian Fita
On 06/05/12 01:26, Tony Baldwin wrote: > I've got a little cron job, > just trying to fire off a script (see http://tonyb.us/mattbot ) > and it's not firing. [...] > Probably something really obvious I'm overlooking, but the more I look, > the less I see why there's a problem. > > any and all a

cron job not executing

2012-05-05 Thread Tony Baldwin
I've got a little cron job, just trying to fire off a script (see http://tonyb.us/mattbot ) and it's not firing. I have other jobs on the same crontab that do. When I run the script manually, it runs. I've tried, in my user crontab 0 * * * * /path/to/script or @hourly /path/to/script or 0 * * *

RE: Awstats Cron job not executing [SOLVED]

2009-10-27 Thread Kushal Koolwal
<87a8dc10910270120y754f590es1019c2bbb76e8...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 You are right only the apache2 directly needs "execute" permission and not = the files inside it. #chmod 755 /var/log/apache

Re: Awstats Cron job not executing [SOLVED]

2009-10-27 Thread Alexey Salmin
Actually the log file itself doesn't need the execute permission. You need that on directory you want to access a file from. On Tue, Oct 27, 2009 at 10:23 AM, Kushal Koolwal wrote: > >  <20091027035155.gb5...@localhost.localdomain> > Content-Type: text/plain; charset="iso-8859-1" > Content-Transf

Re: Awstats Cron job not executing

2009-10-26 Thread Alexey Salmin
On Tue, Oct 27, 2009 at 9:51 AM, Andrew Sackville-West wrote: > On Mon, Oct 26, 2009 at 07:08:04PM -0700, Kushal Koolwal wrote: >> >>  <20091027012939.ga19...@localhost.localdomain> >> Content-Type: text/plain; charset="iso-8859-1" >> Content-Transfer-Encoding: quoted-printable >> MIME-Version: 1.

RE: Awstats Cron job not executing [SOLVED]

2009-10-26 Thread Kushal Koolwal
<20091027035155.gb5...@localhost.localdomain> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Ahhh I finally resolved it. chmod 755 -R /var/log/apache2/* did the trick. It's funny that it needs execute permission also. No where i= n

Re: Awstats Cron job not executing

2009-10-26 Thread Andrew Sackville-West
On Mon, Oct 26, 2009 at 07:08:04PM -0700, Kushal Koolwal wrote: > > <20091027012939.ga19...@localhost.localdomain> > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > MIME-Version: 1.0 > > > > Try becoming the www-data user and trying the above > >

RE: Awstats Cron job not executing

2009-10-26 Thread Kushal Koolwal
<20091027012939.ga19...@localhost.localdomain> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > Try becoming the www-data user and trying the above > line from the command line directly? perhaps you'll get some helpful > output. A

Re: Awstats Cron job not executing

2009-10-26 Thread Andrew Sackville-West
On Mon, Oct 26, 2009 at 06:04:05PM -0700, Kushal Koolwal wrote: > > I am using Debian Lenny and installed awstats. Now by default the awstats > creates a the following file: > > debian:~# cat /etc/cron.d/awstats > 0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f > /etc/a

Awstats Cron job not executing

2009-10-26 Thread Kushal Koolwal
I am using Debian Lenny and installed awstats. Now by default the awstats creates a the following file: debian:~# cat /etc/cron.d/awstats 0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ] && /usr/lib/cgi-bin/a