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

Re: cron job mergelog failure

2012-02-09 Thread Tony Baldwin
On Wed, Feb 08, 2012 at 01:59:27PM -0500, Tony Baldwin wrote: > On Wed, Feb 08, 2012 at 08:35:44AM -0800, Noah Meyerhans wrote: > > On Wed, Feb 08, 2012 at 10:57:54AM -0500, Tony Baldwin wrote: > > > > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > > > > Every day I get an e-mail tellin

Re: cron job mergelog failure

2012-02-08 Thread Tony Baldwin
On Wed, Feb 08, 2012 at 08:35:44AM -0800, Noah Meyerhans wrote: > On Wed, Feb 08, 2012 at 10:57:54AM -0500, Tony Baldwin wrote: > > > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > > > Every day I get an e-mail telling me this failed. > > > > > > > Now, I can go in and to this manually

Re: cron job mergelog failure

2012-02-08 Thread Noah Meyerhans
On Wed, Feb 08, 2012 at 10:57:54AM -0500, Tony Baldwin wrote: > > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > > Every day I get an e-mail telling me this failed. > > > > > Now, I can go in and to this manually, > > > Why can't cron do it without my intervention? > > > > > > What

Re: cron job mergelog failure

2012-02-08 Thread Tony Baldwin
On Wed, Feb 08, 2012 at 09:18:32AM +, Chris Davies wrote: > Tony Baldwin wrote: > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > Every day I get an e-mail telling me this failed. > > > Now, I can go in and to this manually, > > Why can't cron do it without my intervention? > >

Re: cron job mergelog failure

2012-02-08 Thread Chris Davies
Tony Baldwin wrote: > 0 1 * * * mergelog /var/log/apache2/access.log [...] > Every day I get an e-mail telling me this failed. > Now, I can go in and to this manually, > Why can't cron do it without my intervention? What reason does the email give for the failure? Chris -- To UNSUBSCRIBE, e

Re: cron job mergelog failure

2012-02-08 Thread Arif Hossain
On Wed, 2012-02-08 at 01:27 -0500, Tony Baldwin wrote: > I have the following in my root crontab on my webserver: > > 0 1 * * * mergelog /var/log/apache2/access.log > /var/log/apache2/other_vhosts_access.log /var/log/apache2/my.log > > MY.log > 4 2 1 * * * mv /var/log/apache2/MY.log /var/log/apa

Re: Cron job

2010-08-23 Thread Burton Samograd
"Boyd Stephen Smith Jr." writes: > Finally, while you currently make your order via phone, it may be that > your distributor has a more easily automated method, so it may be > worth talking to their customer support and exploring the other > ordering options. LOL :) -- Burton Samograd -- To

Re: Cron job

2010-08-22 Thread Boyd Stephen Smith Jr.
TOFU corrected. <> This mailing list prefers a well-trimmed and interleaved posting style. Trimming the quoted text being the most important part of that. In , Poo Py wrote: >> From: b...@iguanasuicide.net >> In , Poo Py wrote: >> >Hi I'm tired of [...] ordering horny goat weed every week manua

RE: Cron job

2010-08-22 Thread Poo Py
Thanks but how did you make the shell script? Please post contents to list. Thanks. > Date: Sat, 21 Aug 2010 00:57:22 +0400 > Subject: Re: Cron job > From: eero.voloti...@iki.fi > To: debiantux...@hotmail.com > CC: debian-user@lists.debian.org > > 2010/8/20 Poo Py : > &

Re: Cron job

2010-08-20 Thread Eero Volotinen
2010/8/20 Poo Py : > Hi I'm tired of fucking ordering horny goat weed every week manually so can > someone please make a fucking cron job to do this for me? Many thanks and > god bless your kind souls. > crontab -e and: @weekly /path/to/order_horny_goat_weed.sh -- Eero -- To UNSUBSCRIBE, emai

Re: Cron job not cooperating

2007-06-07 Thread Martin Schulze
Tom Scrape wrote: > Is there a location (eg. log file) where run-parts activity can be found? Or > is > it rather just hit-and-miss debugging when trying to figure out a problem? Output is normally not generated. It's only generated in case of an error. Since it is executed by cron (<== /etc

RE: Cron job not cooperating

2007-06-07 Thread Tom Scrape
> -Original Message- > Sent: Thursday, June 07, 2007 1:32 AM > > Tom Scrape wrote: > > Cron.log shows nothing: > > [EMAIL PROTECTED]:/var/log# cat cron.log |grep pflogsumm > > [EMAIL PROTECTED]:/var/log# > > Err... > > The program is not executed by cron but by run-parts (which is > exec

Re: Cron job not cooperating

2007-06-06 Thread Joey Schulze
Tom Scrape wrote: > My /etc/cron.daily contains the problem file: > [EMAIL PROTECTED]:/etc/cron.daily# ll pflogsumm-daily.cron > -rwxr-xr-x 1 root root 354 2007-06-06 08:49 pflogsumm-daily.cron > Cron.log shows nothing: > [EMAIL PROTECTED]:/var/log# cat cron.log |grep pflogsumm > [EMAIL PROTECTED]

RE: Cron job not cooperating

2007-06-06 Thread Tom Scrape
> -Original Message- > Sent: Wednesday, June 06, 2007 10:40 AM > > On Wed, 6 Jun 2007, Tom Scrape wrote: > > > I have a cron job that's not running when I think it should > > be... that is, it's not running at all. > > > > My /etc/cron.daily contains the problem file: > > [EMAIL PROTECTED

Re: Cron job not cooperating

2007-06-06 Thread Jeff D
On Wed, 6 Jun 2007, Tom Scrape wrote: I have a cron job that's not running when I think it should be... that is, it's not running at all. My /etc/cron.daily contains the problem file: [EMAIL PROTECTED]:/etc/cron.daily# ll pflogsumm-daily.cron -rwxr-xr-x 1 root root 354 2007-06-06 08:49 pflogsum

Re: Cron-job

2006-08-02 Thread Ed Curtis
On Wed, 2 Aug 2006, Oliver Jato wrote: > > Example (which not works) > > index.php > > > > > // Read last timestamp > > $file_name = "last_mail"; > > $file = fopen($file_name, "r+"); > > $content = fread($file, filesize($filename)); > > > > $time = time(); > > if($file[0]

Re: Cron-job

2006-08-02 Thread Oliver Jato
> Example (which not works) > index.php > > // Read last timestamp > $file_name = "last_mail"; > $file = fopen($file_name, "r+"); > $content = fread($file, filesize($filename)); > > $time = time(); > if($file[0] >= $time + $diff) { > include "mai

Re: Cron-job

2006-08-02 Thread Michael Ott
Hello Henning! > I have a php-site on which I want to send periodic mails out. > I want cron to schedule that, but I don't know how to get cron to > manage that. > I have my own Linux-box on which I put the line > lynx http://blabla.com/mailscript.php > but on my hosted webserver, there are obviou

Re: Cron Job

1999-06-17 Thread Michael Merten
On Wed, Jun 16, 1999 at 11:26:05AM -0700, Lawrence Walton wrote: > On Wed, Jun 16, 1999 at 11:18:21AM -0700, ASHA TARACHANDANI wrote: > > Hi, > > Can you give me how to set up a cron job on Solaris 5.6. Or refer me to > > some site where this is explained. > > -Asha > > > > -- > > > > -=-=-=-=-=

Re: Cron Job

1999-06-16 Thread Lawrence Walton
On Wed, Jun 16, 1999 at 11:18:21AM -0700, ASHA TARACHANDANI wrote: > Hi, > Can you give me how to set up a cron job on Solaris 5.6. Or refer me to > some site where this is explained. > -Asha > > -- > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Asha Tarachandani [EMAIL PROTECTED