Re: Cron Question

2008-09-06 Thread ElihuJ
Can anyone help me with this? Thank you again. -- View this message in context: http://www.nabble.com/Cron-Question-tp19272656p19343758.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing

Re: Cron Question

2008-09-03 Thread ElihuJ
Thank you for the help. I changed the script to run Weekly instead of Daily. If it was starting while it was still running, this should fix it. I'll post my progress, and thank you again. -- View this message in context: http://www.nabble.com/Cron-Question-tp19272656p19287970.html Sent from the

Re: Cron Question

2008-09-03 Thread Derek Ragona
At 10:45 AM 9/2/2008, ElihuJ wrote: Hi all. I have a question about cron jobs that seem to be running to long or with multiple copies of itself. For example, I have a backup script that I run that seems to make multiple copies of itself. If I view the running processes I see numerous instances o

Re: Cron Question

2008-09-02 Thread RW
On Tue, 2 Sep 2008 11:40:37 -0500 Dan Nelson <[EMAIL PROTECTED]> wrote: > I use the lockfile command ( from the procmail port ) to ensure that > recurring cron jobs don't overlap if one run takes too long. For > example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs > from running if

Re: Cron Question

2008-09-02 Thread Dan Nelson
In the last episode (Sep 02), Paul Schmehl said: > --On September 2, 2008 6:03:51 PM +0200 Albert Shih wrote: > > Le 02/09/2008 à 08:45:52-0700, ElihuJ a écrit > >> Hi all. I have a question about cron jobs that seem to be running > >> to long or with multiple copies of itself. For example, I have

Re: Cron Question

2008-09-02 Thread Paul Schmehl
--On September 2, 2008 6:03:51 PM +0200 Albert Shih <[EMAIL PROTECTED]> wrote: Le 02/09/2008 à 08:45:52-0700, ElihuJ a écrit Hi all. I have a question about cron jobs that seem to be running to long or with multiple copies of itself. For example, I have a backup script that I run that seems

Re: Cron Question

2008-09-02 Thread Albert Shih
Le 02/09/2008 à 08:45:52-0700, ElihuJ a écrit > > Hi all. I have a question about cron jobs that seem to be running to long or > with multiple copies of itself. For example, I have a backup script that I > run that seems to make multiple copies of itself. If I view the running > processes I see n

Re: Cron question

2008-04-26 Thread John Almberg
On Apr 25, 2008, at 10:31 AM, John Almberg wrote: ...and invoking this wrapper from cron instead of trying to reset the shell and everything from within cron. You can test things by doing an "su gs -c /bin/sh" from a root login and then trying to run your wrapper, which will giv

Re: Cron question

2008-04-25 Thread John Almberg
...and invoking this wrapper from cron instead of trying to reset the shell and everything from within cron. You can test things by doing an "su gs -c /bin/sh" from a root login and then trying to run your wrapper, which will give you a minimum environment closer to what cron executes un

Re: Cron question

2008-04-24 Thread Matt
On Thu, Apr 24, 2008 at 3:26 PM, John Almberg <[EMAIL PROTECTED]> wrote: > SHELL=/usr/local/bin/bash Did you install bash from ports and does it run OK from outside of cron? > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/gs/bin > HOME=/home

Re: Cron question

2008-04-24 Thread Wojciech Puchar
0 15 * * * /usr/local/bin/php /home/gs/bin/script.php /home/gs/log/script.log looks right. check mail - cron sends mail if something is wrong ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: Cron question

2008-04-24 Thread Chuck Swiger
On Apr 24, 2008, at 1:26 PM, John Almberg wrote: The trouble comes when I try to run this script with cron. I have something like this in the gs user crontab: SHELL=/usr/local/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/ local/bin:/usr/X11R6/bin:/home/gs/bin H

Re: cron question

2006-04-06 Thread RW
On Wednesday 05 April 2006 01:32, Kevin Kinsey wrote: > And furthermore, you edited /etc/crontab or something similar > instead of using crontab(1) to edit /var/cron/tabs/root. Nitpicky, > to be sure, but the cause of many a heartache: > > http://www.freebsd.org/doc/en/books/faq/admin.html#ROOT-N

Re: cron question

2006-04-05 Thread Giorgos Keramidas
On 2006-04-05 07:03, Marlon Martin <[EMAIL PROTECTED]> wrote: > i created a simple shell script: > > filename: rn > > #!/bin/sh > rndc dumpdb > > what it does, is just dump the hostname and IP addresses in /var/dump > i set the time in 2 minutes but when i checked the logs, it doesnt work any > ide

Re: cron question

2006-04-04 Thread Kevin Kinsey
Chuck Swiger wrote: Marlon Martin wrote: i created a simple shell script: filename: rn #!/bin/sh rndc dumpdb what it does, is just dump the hostname and IP addresses in /var/dump i set the time in 2 minutes but when i checked the logs, it doesnt work any idea what did i missed here?

Re: cron question

2006-04-04 Thread Chuck Swiger
Marlon Martin wrote: > i created a simple shell script: > > filename: rn > > #!/bin/sh > rndc dumpdb > > what it does, is just dump the hostname and IP addresses in /var/dump > i set the time in 2 minutes but when i checked the logs, it doesnt work any > idea what did i missed here? You forgot

Re: cron question

2003-08-14 Thread Lowell Gilbert
Jim Pazarena <[EMAIL PROTECTED]> writes: > I am trying to grep for a record from a crob job... > the entry looks like this: > 58 23 * * * grep `date "+%Y-%m-%d "` /log/fylename | mail admin > > cron complains: > Syntax error: EOF in backquote substitution > > could someone enlighten

Re: cron question

2003-03-15 Thread Giorgos Keramidas
On 2003-03-14 16:08, Kenzo <[EMAIL PROTECTED]> wrote: > I'm trying to automatically create a report in cron and E-mailling it to my > E-mail account. > > this is what I have. > > 0 1 0 0 0 root /usr/bin/perl /usr/local/bin/spamstat.pl /var/log/maillog.0 > > /var/log/spam_report | uuencode spam_repo