On Sat, Aug 28, 2010 at 01:49:18PM +0200, Bernt Hansson wrote:
Hell Bernt,
I'm having problems with lines like this in cron, works on the command
line, but not in cron.
/sbin/dump -0uan -f - /usr | gzip -2 | ssh -c blowfish \
targetu...@targetmachine.example.com dd
I Had a terrible week with freebsd. In monday I did an upgrade from 7.3
to 8.1-prerelease in 3 machines, 2 of them worked normaly and one stop
functioning, and without user (ldap) e cron is not sending emails. The
log for cron is:
Jun 10 19:45:00 sol /usr/sbin/cron[80892]: (root) CMD
Cron is still not sending emails. Any idea?
Is there any output in the 'maillog' log?
May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient
addresses found in message header
___
freebsd-questions@freebsd.org
It doesn't work. With, or without the MAILTO. Just for completeness,
I have used this:
MAILTO=gandalf
The gandalf user is a local user on the system. I can send local
mail to this user using the sendmail postfix program (checked twice).
Cron is still not sending emails. Any idea?
2010/5/28 Laszlo Nagy gand...@shopzeus.com:
Hi All!
After upgrading to 8.0 RELEASE, I'm not getting any emails from cron.
If I put this into root's crontab
* * * * * echo TEST
then I see this in the maillog:
May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No
recipient
El día Tuesday, June 01, 2010 a las 09:41:11AM -0400, APseudoUtopia escribió:
2010/5/28 Laszlo Nagy gand...@shopzeus.com:
Hi All!
After upgrading to 8.0 RELEASE, I'm not getting any emails from cron.
If I put this into root's crontab
* * * * * echo TEST
then I see this in the
If I put this into root's crontab
* * * * * echo TEST
a quick guess, you have a line like:
MAILTO=address
It doesn't work. With, or without the MAILTO. Just for completeness,
I have used this:
MAILTO=gandalf
The gandalf user is a local user on the system. I can send local
mail to this
On Sun, 30 May 2010 17:21:20 +0200
Laszlo Nagy gand...@shopzeus.com articulated:
Cron is still not sending emails. Any idea?
Is there any output in the 'maillog' log?
--
Jerry
freebsd.u...@seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore
El día Sunday, May 30, 2010 a las 05:21:20PM +0200, Laszlo Nagy escribió:
If I put this into root's crontab
* * * * * echo TEST
a quick guess, you have a line like:
MAILTO=address
It doesn't work. With, or without the MAILTO. Just for completeness,
I have used this:
Hi--
On May 28, 2010, at 4:42 AM, Laszlo Nagy wrote:
If I put this into root's crontab
* * * * * echo TEST
then I see this in the maillog:
May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No
recipient addresses found in message header
These do not correspond. It
Chuck Swiger írta:
Hi--
On May 28, 2010, at 4:42 AM, Laszlo Nagy wrote:
If I put this into root's crontab
* * * * * echo TEST
then I see this in the maillog:
May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient
addresses found in message header
These do
Am 28.05.10 13:42, schrieb Laszlo Nagy:
If I put this into root's crontab
* * * * * echo TEST
a quick guess, you have a line like:
MAILTO=address
Bye,
Matthias
--
Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs, and the
Matthias Fechner írta:
Am 28.05.10 13:42, schrieb Laszlo Nagy:
If I put this into root's crontab
* * * * * echo TEST
a quick guess, you have a line like:
MAILTO=address
Bye,
Matthias
It doesn't work. With, or without the MAILTO. Just for completeness, I
have used this:
MAILTO=gandalf
On Mon, Jun 15, 2009 at 11:11:14AM +0200, DA Forsyth wrote:
Why do I become so clever AFTER asking for help?
Anyhow, I have solved the cron not sending email problem.
The cron log file contains lines like this
NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found
which when
On 6/15/09, DA Forsyth d.fors...@ru.ac.za wrote:
Why do I become so clever AFTER asking for help?
Anyhow, I have solved the cron not sending email problem.
The cron log file contains lines like this
NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found
which when searched for
On Wed, Mar 4, 2009 at 11:38 AM, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
Yeah, I am aware what dnl does. The reason I commented that stuff
out is because I have no use for any of it - all those files (access,
local-host-names, mailertable, virtusertable, etc) are all empty by
APseudoUtopia wrote:
In my case I only see either local there or my smart host as defined
in /var/mail/{hostname}.mc
Can you provide a diff -u between /etc/mail/freebsd.mc and
/etc/mail/{hostname}.mc ?
/Morgan
I'd switch over to postfix, but I'm only using this to send output
from cron
On Wed, Mar 4, 2009 at 5:36 AM, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
APseudoUtopia wrote:
In my case I only see either local there or my smart host as defined
in /var/mail/{hostname}.mc
Can you provide a diff -u between /etc/mail/freebsd.mc and
/etc/mail/{hostname}.mc ?
Yeah, I am aware what dnl does. The reason I commented that stuff
out is because I have no use for any of it - all those files (access,
local-host-names, mailertable, virtusertable, etc) are all empty by
default and I had no reason to add anything to them. I'll try going
back to the default
On Mon, Mar 2, 2009 at 10:14 PM, Glen Barber glen.j.bar...@gmail.com wrote:
On Sun, Mar 1, 2009 at 2:24 PM, APseudoUtopia apseudouto...@gmail.com wrote:
[snip]
#
# User www's crontab
# Note, I also tried removing the MAILTO to no avail
#
MAILTO=root
# m h dom mon
On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote:
Thanks for the tips. I've put the following line in my normal user
account's crontab (This account does have a shell, it's one I use on a
daily basis):
SHELL=/bin/sh
mailto=my_email_acco...@gmail.com
* *
Glen Barber wrote:
On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote:
Thanks for the tips. I've put the following line in my normal user
account's crontab (This account does have a shell, it's one I use on a
daily basis):
SHELL=/bin/sh
On Tue, Mar 3, 2009 at 4:17 PM, Glen Barber glen.j.bar...@gmail.com wrote:
On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote:
Thanks for the tips. I've put the following line in my normal user
account's crontab (This account does have a shell, it's one I use on a
On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
Glen Barber wrote:
On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com
wrote:
Thanks for the tips. I've put the following line in my normal user
account's crontab (This account does have
On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia apseudouto...@gmail.com wrote:
I have tested it - and sending mail manually from command line to the
gmail account works fine without any problems.
What I'm saying is that you changed two of the variables without
actually verifying one or the
On Tue, Mar 3, 2009 at 5:44 PM, Glen Barber glen.j.bar...@gmail.com wrote:
On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia apseudouto...@gmail.com wrote:
I have tested it - and sending mail manually from command line to the
gmail account works fine without any problems.
What I'm saying is
On Tuesday 03 March 2009 13:44:34 APseudoUtopia wrote:
On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
Glen Barber wrote:
On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com
wrote:
Thanks for the tips. I've put the following line
relay=...@localhost
Isn't w...@localhost a very weird hostname for a relay? Can you really
resolve that into an IP address?
/Morgan
Hm, I'm not sure where it's getting that from. The MAILTO variable is
set in the crontab, so it shouldn't be going to or relaying through
localhost at all,
On Tue, Mar 3, 2009 at 6:48 PM, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
relay=...@localhost
Isn't w...@localhost a very weird hostname for a relay? Can you really
resolve that into an IP address?
/Morgan
Hm, I'm not sure where it's getting that from. The MAILTO variable is
set
On Sun, Mar 1, 2009 at 9:03 PM, Frank Shute fr...@shute.org.uk wrote:
On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote:
Cron is not sending output as emails. I noticed this when I stopped
seeing the output of a backup script in my daily email. I thought
there was a problem with
On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote:
Cron is not sending output as emails. I noticed this when I stopped
seeing the output of a backup script in my daily email. I thought
there was a problem with the backup script - but no, it's cron not
sending the emails.
I had
On Sun, Mar 1, 2009 at 2:24 PM, APseudoUtopia apseudouto...@gmail.com wrote:
[snip]
#
# User www's crontab
# Note, I also tried removing the MAILTO to no avail
#
MAILTO=root
# m h dom mon dow cmd
* * * * * echo Hello
[snip]
1.)
On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote:
Cron is not sending output as emails. I noticed this when I stopped
seeing the output of a backup script in my daily email. I thought
there was a problem with the backup script - but no, it's cron not
sending the emails.
I had
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
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
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
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
--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
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 a
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 one
On Sat, 03 May 2008 16:46:27 +0200, Gilles [EMAIL PROTECTED]
wrote:
What command-line FTP client would you recommend for this?
It looks like lftp is not running like I thought it would :/ Until I
ran the following commands manually instead of through CRON, some
files on the remote source FTP
On Sat, 10 May 2008 01:53:13 +0200, Gilles [EMAIL PROTECTED]
wrote:
It looks like lftp is not running like I thought it would
Found what it was: The script worked fine when ran manually, but
failed when ran by CRON because it couldn't locate lftp:
Downloading from Source FTP
/var/sync.bash: line
On Sat, 03 May 2008 11:34:30 -0700, prad [EMAIL PROTECTED]
wrote:
i like lftp the best. you can script it and everything has always
worked smoothly for me using it.
Thanks guys, lftp did the job. I'll put those two lines in a script
and add it to CRON:
lftp -u joe,mypass -e mirror -vn ./files
On Sat, May 03, 2008 at 04:46:27PM +0200, Gilles wrote:
Hello
I need to run a CRON job to download files from one FTP server if
they're more recent, and upload them to another FTP server. The files
all live in one directory, so there's no need for recursion.
What command-line FTP
On May 3, 2008, at 9:46 AM, Gilles wrote:
I need to run a CRON job to download files from one FTP server if
they're more recent, and upload them to another FTP server. The files
all live in one directory, so there's no need for recursion.
What command-line FTP client would you
On Sat, 03 May 2008 16:46:27 +0200
Gilles [EMAIL PROTECTED] wrote:
What command-line FTP client would you recommend for this?
i like lftp the best. you can script it and everything has always
worked smoothly for me using it.
--
In friendship,
prad
...
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 give
...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
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
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
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/gs
On Friday 01 February 2008 08:48:02 Peter Boosten wrote:
[EMAIL PROTECTED] wrote:
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip
Zbigniew Szalbot wrote:
Hello,
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz |
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail
-s logfile
[EMAIL PROTECTED] wrote:
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail
-s
Rudy wrote:
The thing is, sometimes it runs fine, other times it backlogs (It may
complete at a latter date... the PID 82253 is still waiting ... Gonna
see it it completes instead of killing all the stuck crons...).
All the crons are cleared out right now... 'ps' shows only crond.
Related
On Sat, 15 Dec 2007 16:18:31 -0600 Kevin Kinsey [EMAIL PROTECTED] wrote:
Rudy wrote:
The thing is, sometimes it runs fine, other times it backlogs (It may
complete at a latter date... the PID 82253 is still waiting ... Gonna
see it it completes instead of killing all the stuck
Dan Nelson wrote:
In the last episode (Dec 03), Support (Rudy) said:
Below is part of the cron... Seems like any random cronjob can get
clogged up... load varies from 0.2 to 1.0 on this dual-core box. I
rebooted the box -- cron's continue to slowly pile up.
One of the cronjobs that is
Rudy wrote:
Dan Nelson wrote:
In the last episode (Dec 03), Support (Rudy) said:
Below is part of the cron... Seems like any random cronjob can get
clogged up... load varies from 0.2 to 1.0 on this dual-core box. I
rebooted the box -- cron's continue to slowly pile up.
One of the cronjobs
Rudy wrote:
cron jobs seem to get stuck. Not always, but within a day, there are at
least 20 stuck. It is not always the same cronjob that does the
sticking. :) When this occurs, I can run ps ax| grep cron and get a
bunch of lines like this:
51921 ?? D 0:00.00 cron: running job
Below is part of the cron... Seems like any random cronjob can get clogged up... load varies from
0.2 to 1.0 on this dual-core box. I rebooted the box -- cron's continue to slowly pile up.
One of the cronjobs that is 'stuck' is this one: /root/bin/raid-status.sh
which can be found here:
In the last episode (Dec 03), Support (Rudy) said:
Below is part of the cron... Seems like any random cronjob can get
clogged up... load varies from 0.2 to 1.0 on this dual-core box. I
rebooted the box -- cron's continue to slowly pile up.
One of the cronjobs that is 'stuck' is this one:
zbigniew szalbot wrote:
Dear all,
What command (when using cron) should I invoke to automatically sent
/var/log/exim/rejectlog file to a specified email address? I just need
to analyze it and would best prefer to have it in my inbox in the morning.
The following should be on one line in
existats comes to mind as well. Does the whole analyze thing for you...
Quoting Steve Bertrand [EMAIL PROTECTED]:
zbigniew szalbot wrote:
Dear all,
What command (when using cron) should I invoke to automatically sent
/var/log/exim/rejectlog file to a specified email address? I just
On 2007-11-15 13:47, zbigniew szalbot [EMAIL PROTECTED] wrote:
Dear all,
What command (when using cron) should I invoke to automatically sent
/var/log/exim/rejectlog file to a specified email address? I just need
to analyze it and would best prefer to have it in my inbox in the
morning.
Hello,
Can you give some more info, like posting te crontab?
Matthijs
-Oorspronkelijk bericht -
Van: DSA - JCR [EMAIL PROTECTED]
Aan: freebsd-questions@freebsd.org
Verzonden: 19-9-07 14:36
Onderwerp: Cron not working till 28/08/07
Hi all !!
I had several crontab jobs in order to make
On Wed, Sep 19, 2007 at 12:36:07PM -, DSA - JCR wrote:
I had several crontab jobs in order to make backups.
All worked fine till the 28-Aug-2007 when it seems to be stopped for some
reason, I don't know why.
Does the command whereis crontab give you any feedback?
Performed a buildworld
On Wed, 19 Sep 2007 12:36:07 - (GMT)
DSA - JCR [EMAIL PROTECTED] wrote:
Hi all !!
I had several crontab jobs in order to make backups.
All worked fine till the 28-Aug-2007 when it seems to be stopped for
some reason, I don't know why.
I had a reporting in my mail box (external) also
At 07:36 AM 9/19/2007, DSA - JCR wrote:
Hi all !!
I had several crontab jobs in order to make backups.
All worked fine till the 28-Aug-2007 when it seems to be stopped for some
reason, I don't know why.
I had a reporting in my mail box (external) also with daily, weekly and
monthly reports,
Hi,
On Wed, Sep 19, 2007 at 12:36:07PM -, DSA - JCR wrote:
Hi all !!
I had several crontab jobs in order to make backups.
All worked fine till the 28-Aug-2007 when it seems to be stopped for some
reason, I don't know why.
I had a reporting in my mail box (external) also with daily,
On Wed, Sep 19, 2007 at 21:46 , after knocking over a stack of
dishes on the heat sink [EMAIL PROTECTED]
wondered out loud about:
Date: Wed, 19 Sep 2007 12:36:07 - (GMT)
From: DSA - JCR [EMAIL PROTECTED]
Subject: Cron not working till 28/08/07
Hi all !!
I had several crontab jobs in
In response to Steve Franks [EMAIL PROTECTED]:
Correct me if I'm wrong, but cron doesn't keep track of the last time
something was done, does it? Which is to say if my system is crashed,
was asleep, or powered off when a job is supposed to happen, it will
not happen the next time the system
On Mon, Sep 17, 2007 at 08:22:45AM -0700, Steve Franks wrote:
Correct me if I'm wrong, but cron doesn't keep track of the last time
something was done, does it? Which is to say if my system is crashed,
was asleep, or powered off when a job is supposed to happen, it will
not happen the next
On Mon, 17 Sep 2007 08:22:45 -0700
Steve Franks [EMAIL PROTECTED] wrote:
Is there a tool or setting to implement this functionality? I want
something to happen weekly, I don't care when.
One way is to install a crontab replacement like fcron, but the easiest
way to handle this is to install
On Tue, 17 Jul 2007 21:53:22 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:
Shell scripts with sleep won't give you exactly the 5 hours you
desire, but should come close (within 1-5 seconds of actual time
depending on your host PC's precision, and whether or not your RTC
battery is dead
Something like:
minute */5 * * * root path/to/scriptname
will do the trick.
Substitute the * in */5 for your desired start time (* being 0).
-Garrett
PS crond won't do 5 hours and every x number of minutes per job (5 hours
+ x mins from end to start), just a flat
Olivier Nicole [EMAIL PROTECTED] writes:
Something like:
minute */5 * * * root path/to/scriptname
will do the trick.
Substitute the * in */5 for your desired start time (* being 0).
-Garrett
PS crond won't do 5 hours and every x number of minutes per job (5 hours
Fredrik Tolf wrote:
Olivier Nicole [EMAIL PROTECTED] writes:
Something like:
minute */5 * * * root path/to/scriptname
will do the trick.
Substitute the * in */5 for your desired start time (* being 0).
-Garrett
PS crond won't do 5 hours and every x number of minutes per
Garrett Cooper wrote:
Fredrik Tolf wrote:
Olivier Nicole [EMAIL PROTECTED] writes:
Something like:
minute */5 * * * root path/to/scriptname
will do the trick.
Substitute the * in */5 for your desired start time (* being 0).
-Garrett
PS crond won't do 5 hours and every x
I want to run an updater script, every 5 hours and x minutes. I thought
to use:
minute 5 * * * root path/to/scriptname
but that looks like it only works once a day, i want it to go every 5 hours
not justa at 5 in the monrning.
You could sechedule you jor at 5, 10, 15 and 20 on
Olivier Nicole wrote:
I want to run an updater script, every 5 hours and x minutes. I thought
to use:
minute 5 * * * root path/to/scriptname
but that looks like it only works once a day, i want it to go every 5 hours
not justa at 5 in the monrning.
You could sechedule you jor at
On Fri, 13 Jul 2007 at 12:50 -0400, [EMAIL PROTECTED] confabulated:
Hello,
I want to run an updater script, every 5 hours and x minutes. I thought to
use:
minute 5 * * * root path/to/scriptname
crontab(5):
...
Steps are also permitted after an asterisk, so if you want to say
On Friday 13 July 2007, Duane Hill wrote:
On Fri, 13 Jul 2007 at 12:50 -0400, [EMAIL PROTECTED]
confabulated:
Hello,
I want to run an updater script, every 5 hours and x minutes. I
thought to use:
minute 5 * * * root path/to/scriptname
crontab(5):
...
Steps are also
Robin Becker wrote:
[ ... ]
before
##
SHELL=/bin/sh
MAILTO=user
13 3 * * * $HOME/bin/daily
19 * * * * $HOME/bin/hourly
after
##
SHELL=/bin/sh
MAILTO=user
13 3 * * * /home/user/bin/daily
41 * * * * /home/user/bin/hourly
and at 41 past the
Chuck Swiger wrote:
Robin Becker wrote:
[ ... ]
before
##
SHELL=/bin/sh
MAILTO=user
13 3 * * * $HOME/bin/daily
19 * * * * $HOME/bin/hourly
after
##
SHELL=/bin/sh
MAILTO=user
13 3 * * * /home/user/bin/daily
41 * * * * /home/user/bin/hourly
Environment variables are set first by the users shell which then is used
to exec cron jobs. Basically, always take nothing in the environment for
granted.
-Derek
At 10:19 AM 2/26/2007, Robin Becker wrote:
Can anyone think of something that can stop cron working for a particular
Hi,
Charlie McElfresh schrieb:
I wrote a perl script to get a news show I like. When I run it, it deletes
yesterday's copy of the show, and downloads the new copy. The script works
fine. I run the script as myself (charlie), charlie owns it, and it's
chmod'd 0755. Works fine.
I can't
On Tuesday January 30, 2007 at 02:13:45 (PM) Charlie McElfresh wrote:
I wrote a perl script to get a news show I like. When I run it, it deletes
yesterday's copy of the show, and downloads the new copy. The script works
fine. I run the script as myself (charlie), charlie owns it, and it's
Always use full pathnames to commands in cron scripts. Change the lines to
include the full paths for chown and chmod.
-Derek
At 09:31 PM 1/16/2007, Don O'Neil wrote:
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the
On Tue, Jan 16, 2007, Don O'Neil wrote:
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the command line?
Most often this is because the environment in the cron job is
different, either missing variables or having variables that
On Thu, 28 Dec 2006, steve wrote:
It has been a long time since I've had to post for help, so forgive me if
this question is misplaced or stupid.
I have a freebsd server running at home now for years with no problems. Over
the years it has been rebooted a few times either on purpose or do
Check the clock. Often older systems have dead batteries so the clock is
so far out of whack cron jobs don't run.
-Derek
At 08:18 AM 12/28/2006, steve wrote:
It has been a long time since I've had to post for help, so forgive me if
this question is misplaced or stupid.
I have a
Hello,
Make sure to use full path in the cron command file, like so:
/usr/sbin/ntpdate time.server.anywhere
Derek Ragona skrev:
Check the clock. Often older systems have dead batteries so the clock
is so far out of whack cron jobs don't run.
-Derek
At 08:18 AM 12/28/2006, steve
]
On Dec 28, 2006, at 3:33 PM, [EMAIL PROTECTED]
wrote:
Date: Thu, 28 Dec 2006 09:07:23 -0600
From: Derek Ragona [EMAIL PROTECTED]
Subject: Re: cron not running
To: steve [EMAIL PROTECTED],
freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Message-ID:
[EMAIL PROTECTED
Martin McCormick writes:
I must have dome something wrong setting up a FreeBSD5.4
system, but I haven't a clue as to what.
This is still Martin McCormick. I haven't found exactly
what I did yet, but I remembered that I do have a second 5.4 box
and it appears to be fine so I can
Quoting Martin McCormick [EMAIL PROTECTED]:
I must have dome something wrong setting up a FreeBSD5.4
system, but I haven't a clue as to what.
The script is called save-entropy, a great idea, but it
acts as if lots of the configuration it needs is missing. I do
have ipfw
Jim Pazarena wrote:
I have a fairly lengthy routine which runs each
Sunday morning in a cronjob. For many months
now it has never completed, and I have to manually
run it from the CLI. (which runs fine). The cronjob
runs as root.
It isn't failing because of a PATH problem,
(it's just
Is your shell different from the account running the cron job? Is there
any other jobs that might kill this cron job?
Add echo statements to your script and save a log file. Be sure to
redirect stderr as well as stdout to the log file.
-Derek
At 10:34 AM 6/13/2006, Jim Pazarena
Mark Busby [EMAIL PROTECTED] writes:
I getting errors from cron on this job.
owner of /usr/libexec/sav-entropy is root:wheel
email notice:
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
Mark Busby [EMAIL PROTECTED] writes:
I getting errors from cron on this job.
owner of /usr/libexec/sav-entropy is root:wheel
email notice:
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
1 - 100 of 216 matches
Mail list logo