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
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
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
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
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
--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
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
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
...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
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
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
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
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
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
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?
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
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
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
18 matches
Mail list logo