In the last episode (Jun 07), Atom Powers said:
On 6/7/06, Olivier Nicole [EMAIL PROTECTED] wrote:
How can I simulate a cron job from the shell? There must be
something different about the way cron is executing this
command...
Counld be different environment variables set, different
I have a cronjob ( cfexecd -F ) that often hangs; but no matter how I
run it from the shell ( sh -c cfexecd -F ) it never hangs.
(Running it from the shell is how I clear the hung state.)
How can I simulate a cron job from the shell? There must be something
different about the way cron
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
X-Cron
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
X-Cron-Env: HOME=/
X-Cron-Env: LOGNAME=operator
X
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
X
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
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
idea what did
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?
==
the full path to rndc in your shell script. You should not
assume that the $PATH cron passes you is going to have that command available.
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
?
You forgot to use the full path to rndc in your shell script. You should not
assume that the $PATH cron passes you is going to have that command available.
And furthermore, you edited /etc/crontab or something similar
instead of using crontab(1) to edit /var/cron/tabs/root. Nitpicky
Vaaf [EMAIL PROTECTED] writes:
Cron keeps spamming me:
override r operator/operator for
/var/db/entropy/saved-entropy.6? (y/n [n]) not overwritten
override r operator/operator for
/var/db/entropy/saved-entropy.5? (y/n [n]) not overwritten
override r operator
Hello again!
Cron keeps spamming me:
override r operator/operator for
/var/db/entropy/saved-entropy.6? (y/n [n]) not overwritten
override r operator/operator for
/var/db/entropy/saved-entropy.5? (y/n [n]) not overwritten
override r operator/operator for
/var/db
On 3/1/06, David J Brooks [EMAIL PROTECTED] wrote:
On Wednesday 01 March 2006 01:10, perikillo wrote:
root: not found
The FAQ explains it all:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS
David
--
Sure God created the world in only six days
On Wednesday 01 March 2006 01:10, perikillo wrote:
root: not found
The FAQ explains it all:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS
David
--
Sure God created the world in only six days,
but He didn't have an established userbase
Hi people.
I have 1 system running freebsd 5.4-p11, but since the first day
of use root start getting a emails from cron that say this:
Message 1:
From [EMAIL PROTECTED] Tue Feb 28 23:10:06 2006
Date: Tue, 28 Feb 2006 23:10:01 -0800 (PST)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL
Is it OK to list two different tasks on two lines for the exactly the same
time ?
I did this and the second one didnt run maybe it was a problem with the
job ...
___
freebsd-questions@freebsd.org mailing list
On Mon, 20 Feb 2006, Tim Daneliuk wrote:
In case you're interested (or anyone else listening), it seems that
'chown' likes to live in /usr/sbin - i.e., A place not in the default
path. As it happens, a root cron task is trying to run a script
that uses 'chown' and is thus failing. I can
Graham Bentley wrote:
Is it OK to list two different tasks on two lines for the exactly the same
time ?
I did this and the second one didnt run maybe it was a problem with the
job ...
You're probably better off having a one-line cron line which invokes a shell
script that runs your two
Warren Block wrote:
On Mon, 20 Feb 2006, Tim Daneliuk wrote:
In case you're interested (or anyone else listening), it seems that
'chown' likes to live in /usr/sbin - i.e., A place not in the default
path. As it happens, a root cron task is trying to run a script
that uses 'chown' and is thus
Date: Tue, 21 Feb 2006 09:25:11 -0600
From: Tim Daneliuk [EMAIL PROTECTED]
Subject: Re: Path And 'cron'
To: Warren Block [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
The problem in this case is that it is not a shell script I own
or maintain
Randy Pratt wrote:
On Sun, 19 Feb 2006 15:25:49 -0600
Tim Daneliuk [EMAIL PROTECTED] wrote:
Where is the default path for cron jobs established? (And can it
be changed...)
Take a look at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html
and see
On Mon, 20 Feb 2006 10:21:22 -0600
Tim Daneliuk [EMAIL PROTECTED] wrote:
Randy Pratt wrote:
On Sun, 19 Feb 2006 15:25:49 -0600
Tim Daneliuk [EMAIL PROTECTED] wrote:
Where is the default path for cron jobs established? (And can it
be changed...)
Take a look at:
http
Randy Pratt wrote:
SNIP
If I do not have a PATH= statement in a particular user's crontab,
what is used for a default PATH?
From man 5 crontab :
Several environment variables are set up automatically by the cron
(8) daemon. SHELL is set to /bin/sh, PATH is set to /usr/bin
Where is the default path for cron jobs established? (And can it
be changed...)
TIA,
--
Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP
Tim,
The default location crontabs are stored in is /var/cron/tabs/username/,
and yes they can be edited manually.
-David
On 2/19/06, Tim Daneliuk [EMAIL PROTECTED] wrote:
Where is the default path for cron jobs established? (And can it
be changed...)
TIA
On Sun, 19 Feb 2006 15:25:49 -0600
Tim Daneliuk [EMAIL PROTECTED] wrote:
Where is the default path for cron jobs established? (And can it
be changed...)
Take a look at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html
and see if that answers your question
FreeBSD secure.venturanetworks.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0:
Sun May 8 10:21:06 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
I ran portupgrade -a to update all my packages a couple weeks ago, and
since then I stopped receiving daily emails from the built-in cron jobs
Has anyone tried this?
I even think of proposing this to the base system - cron is such an old
idea..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL
On 2/9/06, Iantcho Vassilev [EMAIL PROTECTED] wrote:
Has anyone tried this?
I even think of proposing this to the base system - cron is such an old
idea..
But old ideas are not necessarily bad ideas... I've implemented mcron
on two hosts that needed to have custom cron jobs replicated. I
Iantcho Vassilev [EMAIL PROTECTED] writes:
Has anyone tried this?
It is in ports, so I think some people are probably using it.
I even think of proposing this to the base system - cron is such an old
idea..
mcron is Gnu licensed, so it would have a difficult time being
accepted for the base
In the last episode (Feb 09), Lowell Gilbert said:
Iantcho Vassilev [EMAIL PROTECTED] writes:
Has anyone tried this?
It is in ports, so I think some people are probably using it.
I even think of proposing this to the base system - cron is such an
old idea..
mcron is Gnu licensed, so
On 09/02/06 Iantcho Vassilev said:
Has anyone tried this?
I even think of proposing this to the base system - cron is such an old
idea..
What does mcron offer? My main complaints about cron are:
1. Difficult to do refined timing, like execute on the first tuesday of each
month. I tend to use
In the last episode (Feb 09), Michael P. Soulier said:
On 09/02/06 Iantcho Vassilev said:
Has anyone tried this? I even think of proposing this to the base
system - cron is such an old idea..
What does mcron offer? My main complaints about cron are:
1. Difficult to do refined timing
bsd [EMAIL PROTECTED] writes:
Hello,
I am using a little cron script to update my server that calls
portsnap. Once this is done there is another piece of script that
tells me which port(s) is to be updated with a simple call to a
script that mainly execute portversion -l and mail me
Hello,
I am using a little cron script to update my server that calls
portsnap. Once this is done there is another piece of script that
tells me which port(s) is to be updated with a simple call to a
script that mainly execute portversion -l and mail me the output
of the command
I have a script that is running in root's cron. The script runs successfully,
but it emails me on completion with info I don't need. Is there a command I
can add to have it not mail? I don't want to shut off all crons mail, just
that one job. The only thing I could find in the man pages deal
On Thursday, December 08, 2005 5:23:10 AM, Beecher Rintoul [EMAIL PROTECTED]
Subject: cron
Wrote these words of wisdom:
I have a script that is running in root's cron. The script runs successfully,
but it emails me on completion with info I don't need. Is there a command I
can add to have
On Thursday 08 December 2005 01:39 am, Gerard Seibert wrote:
On Thursday, December 08, 2005 5:23:10 AM, Beecher Rintoul
[EMAIL PROTECTED] Subject: cron
Wrote these words of wisdom:
I have a script that is running in root's cron. The script runs
successfully, but it emails me on completion
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
5 : not found
---
I have noticed that while still at the command line, the number 5
sporadically appears in the boot messages; the system responds with the
equivalent
[EMAIL PROTECTED] wrote:
I found this bit of stuff in the rc.conf:
-
# -- sysinstall generated deltas -- # Mon Oct 3 08:28:56 2005
moused_flags=ZAxisMapping 4 5
-
I don't understand why there are doubled-double quotes. This is the only
place in rc.conf that
On Sunday 27 November 2005 08:29 pm, [EMAIL PROTECTED] wrote:
Greetings -
[...]
filling up with strange messages regarding a save-entropy thing:
---
Date: Sun, 27 Nov 2005 20:11:00 -0500 (EST)
From: Cron Daemon [EMAIL PROTECTED]
To: [EMAIL PROTECTED
Greetings -
I have an installation of 5.3 that I am enjoying, but the root mailbox is
filling up with strange messages regarding a save-entropy thing:
---
Date: Sun, 27 Nov 2005 20:11:00 -0500 (EST)
From: Cron Daemon [EMAIL PROTECTED]
To: [EMAIL PROTECTED
-0500 (EST)
From: Cron Daemon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
5 : not found
---
I have noticed that while still at the command line, the number 5
sporadically appears in the boot messages
Hello Gerard,
Friday, November 25, 2005, 10:45:51 PM, you wrote:
I start a program from CRON. As an example, let us use
/sysutils/portmanager. Now this program is being run in the background.
How do I get it to run in the foreground so that I can view what it is
doing, and or stop it if I
I have asked many dumb questions before, and this will no doubt add to
the list.
Scenario:
I start a program from CRON. As an example, let us use
/sysutils/portmanager. Now this program is being run in the background.
How do I get it to run in the foreground so that I can view what it is
doing
Gerard Seibert wrote:
I have asked many dumb questions before, and this will no doubt add to
the list.
Scenario:
I start a program from CRON. As an example, let us use
/sysutils/portmanager. Now this program is being run in the background.
How do I get it to run in the foreground so that I
You're right... it's for /usr/local/bin/bash. Obviously I had a lot more
problems than I was aware of. Its working now; thanks, I appreciate
everyone's help.
for (( i = $numbkups ; i = 2 ; i-- ))
do
let from=i-1
mv -fv $dbkups/$from $dbkups/$i
done
Hmmm, what shell is this
On 2005-11-04 08:47, Brandon Hinesley [EMAIL PROTECTED] wrote:
for (( i = $numbkups ; i = 2 ; i-- ))
do
let from=i-1
mv -fv $dbkups/$from $dbkups/$i
done
Hmmm, what shell is this supposed to run in?
It doesn't look like /bin/sh syntax to me.
You're right... it's for
of the crontab file (As there should be)
Here's some of /var/log/cron:
Nov 3 09:00:00 server /usr/sbin/cron[56343]: (operator) CMD
(/usr/libexec/save-entropy)
Nov 3 09:00:00 server /usr/sbin/cron[56344]: (root) CMD
(/usr/libexec/atrun)
Nov 3 09:00:00 server /usr/sbin/cron[56345
the command line /usr/local/bin (where rsync lives) is in your
path. From Cron it is not. Either add it to the crontab or set PATH in
your script. The latter is recommended since the script works whatever
the running user has their path set to. There may be some other path
problem I've missed
Well that's embarrassing. Good eye, thank you. Still not working though.
-Original Message-
From: DAve [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 12:37 PM
To: Brandon Hinesley
Subject: Re: Cron Job will not run.
Brandon Hinesley wrote:
Here's a copy of my backup
in the FAQ :-)
From the command line /usr/local/bin (where rsync lives) is in your
path. From Cron it is not. Either add it to the crontab or set PATH in
your script. The latter is recommended since the script works whatever
the running user has their path set to. There may be some other
@freebsd.org
Subject: Re: Cron Job will not run.
Alex Zbyslaw wrote:
Brandon Hinesley wrote:
The script below works perfectly when I run it from a console, however,
nothing at all seems to happen as evidenced by the backups not being
rotated. I don't know if this makes a difference
: Thursday, November 03, 2005 12:47 PM
To: Brandon Hinesley
Cc: freebsd-questions@freebsd.org
Subject: Re: Cron Job will not run.
Brandon Hinesley wrote:
The script below works perfectly when I run it from a console, however,
nothing at all seems to happen as evidenced by the backups not being
rotated. I
May be a really dumb question here, but like all technical problems, start with
the simple stuff:
ps ax | grep cron
Is cron even running?
--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate Tool Ltd.
http://www.wmptl.com/
Brandon Hinesley wrote:
I forgot to mention that I've
If it's not, then someone's inserting things into my /var/log/cron!
Here's some of /var/log/cron:
Nov 3 09:00:00 server /usr/sbin/cron[56343]: (operator) CMD
(/usr/libexec/save-entropy) Nov 3 09:00:00 server /usr/sbin/cron[56344]:
(root) CMD (/usr/libexec/atrun) Nov 3 09
-av --delete $files/$docs $dbkups/0/
This is a FAQ, though I don't know if it's in the FAQ :-)
From the command line /usr/local/bin (where rsync lives) is in
your path. From Cron it is not. Either add it to the crontab
or set PATH in your script. The latter is recommended since
the script
lol - sorry to point out the obvious, but ya never know ;) - have seen
worse/done worse myself...
Anyhow, try modifying the script so it just outputs something to the console,
see if cron logs/emails the output or not, then take it step-by-step from there;
have it actually print out/echo
: freebsd-questions@freebsd.org
Subject: Re: Cron Job will not run.
Merely adding it as an assignment is not enough for child
processes of the cron script to 'see' the value. Make sure
you also 'export' the new PATH:
PATH='...'
export PATH
Then the rsync process will use the new PATH
On 2005-11-03 13:41, Brandon Hinesley [EMAIL PROTECTED] wrote:
Okay, I exported the updated path to include /usr/local/bin. Still not
working though. My script is in /usr/local/Backup/scripts/bkup-daily.
Since I'm referencing the absolute path in /etc/crontab like this:
35 13 *
Yes, it is.
-rwxr-x--- 1 root wheel 1827 Nov 3 12:43 bkup-daily
I don't have to export /usr/local/Backup/scripts, right?
Hmmm, no, but is the script executable?
___
freebsd-questions@freebsd.org mailing list
time
in the near future, and then stop cron. Run cron manually, as
root, specifying at least the following debugging options and
watch out when the scheduled event tries to run for interesting
output on your terminal:
# cron -x load,misc,pars,proc
The meaning of these is explained in the manpage
Okay, the problem seems to be with a certain part of my script. Like I
said, it works fine when I start it manually (./)
I set up a few checkpoints if you will, and I determined that it's this
loop that cron has a problem with:
for (( i = $numbkups ; i = 2 ; i-- ))
do
let from=i-1
mv
On 2005-11-03 16:33, Brandon Hinesley [EMAIL PROTECTED] wrote:
Okay, the problem seems to be with a certain part of my script.
Like I said, it works fine when I start it manually (./)
I set up a few checkpoints if you will, and I determined that
it's this loop that cron has a problem
I have a script that runs from cron. The script mounts an smbfs share
on another machine, copies some files from it, and then unmounts the
share. The script is run from a 4.11 machine. It's connecting to a 5.4
box running Samba 3.0.20.
I'm trying to figure out why it runs twice. Once
Doh! and Duh! Sorry to waste list space on that one... ;) Fixed
now... wierd though since i use vi and don't set it to do any wrapping.
--
Paul Schiro
Sr. Systems Engineer
American Select
[EMAIL PROTECTED]
Dan Nelson wrote:
In the last episode (Sep 13), Paul Schiro said:
I just got a
I just got a FreeBSD 5.4-STABLE box up and running, and I noticed that
all my rc scripts (despite otherwise working properly) output the
following to stderr when running:
-snip-
gs: not found
files: not found
-snip-
What is the deal with that? I have no made any special modifications to
In the last episode (Sep 13), Paul Schiro said:
I just got a FreeBSD 5.4-STABLE box up and running, and I noticed
that all my rc scripts (despite otherwise working properly) output
the following to stderr when running:
-snip-
gs: not found
files: not found
-snip-
I'd check for typos in
From time to time, I have found that MySQL has ceased to run. I have a
mailing program that requires that MySQL be running in order for it to
operate.
Since I cannot seem to track down why it occasionally stops functioning,
and since the program that depends on it is started via CRON, would
the program that depends on it is started via
CRON, would it be advisable to put an entry into the CRON that would
restart MYSQL prior to the other program running.
I was thinking of using this:
0 0 * * * /usr/local/etc/rc.d/mysql-server.sh restart
Would that work, or is there a better way
.
Since I cannot seem to track down why it occasionally stops
functioning, and since the program that depends on it is started via
CRON, would it be advisable to put an entry into the CRON that would
restart MYSQL prior to the other program running.
I was thinking of using this:
0 0
that MySQL be running in
order for it to operate.
Since I cannot seem to track down why it occasionally stops
functioning, and since the program that depends on it is started
via CRON, would it be advisable to put an entry into the CRON
that would restart MYSQL prior to the other
On Sat, 10 Sep 2005 13:15:57 -0500, Dan Nelson [EMAIL PROTECTED]
Replied to: Re: Restarting MySQL from CRON
With these words of wisdom:
In the last episode (Sep 10), Gerard Seibert said:
On Saturday, September 10, 2005 12:27:02 PM Dan Nelson [EMAIL PROTECTED]
wrote:
In the last episode
I am having trouble configuring my shell scripts to run under cron (user level, not root). I have
set up a test.sh script which sends me an email, it works fine from the command line (ssh). the
script is as follows:
#!/bin/sh
echo helloworld | mail -s helloworld [EMAIL PROTECTED]
php /home
there is a possibility that the 'not found' is coming from your call to php and
not that it can't find test.sh
either comment out that php line, or use
/full/path/to/php /home/a_user/cron/test.php
HTH
Jeff
Sandy Knight wrote:
I am having trouble configuring my shell scripts to run under cron
Always use full path in Scrips, e.g.
/bin/echo ...
/usr/local/bin/php ..
Greetz,
Ice
Sandy Knight schrieb:
I am having trouble configuring my shell scripts to run under cron (user
level, not root). I have set up a test.sh script which sends me an
email, it works fine from
Sandy Knight wrote:
I am having trouble configuring my shell scripts to run under
cron (user level, not root). I have set up a test.sh script which
sends me an email, it works fine from the command line (ssh). the
script is as follows:
#!/bin/sh
echo helloworld | mail -s helloworld [EMAIL
Hello,
I am using portsnap to update my ports tree like following:
1. Calling portsnap cron from root's cron
2. Updating ports tree using portsnap -I update from root's cron
But it does not update anything by portsnap cron. In
/usr/local/etc/portsnap.conf I have:
WORKDIR=/usr
martin hudec wrote:
Hello,
I am using portsnap to update my ports tree like following:
1. Calling portsnap cron from root's cron
2. Updating ports tree using portsnap -I update from root's cron
But it does not update anything by portsnap cron. In
/usr/local/etc/portsnap.conf I have
Hello,
On Wed, Aug 31, 2005 at 08:54:31AM -0500 or thereabouts, Kevin Kinsey wrote:
Not sure. Check the logs, etc. If you're familiar with ktrace,
kdump, etc., you could follow the program's progress if you
find no log information.
/var/log/cron reports me that cronjob was done. No I am
martin hudec wrote:
Hello,
On Wed, Aug 31, 2005 at 08:54:31AM -0500 or thereabouts, Kevin Kinsey wrote:
Not sure. Check the logs, etc. If you're familiar with ktrace,
kdump, etc., you could follow the program's progress if you
find no log information.
/var/log/cron reports me
On Wed, Aug 31, 2005 at 04:08:46PM +0200, martin hudec wrote:
First, I tell my custom script (with environment set by PATH=) to
call portsnap fetch portsnap update, but he is unable to fetch
anything at all, therefore I started to use portsnap cron and I
hoped to be able to fetch it.
So what
other ?trace found in linux.
Hmmm, thanks for info, this kstuff is really much much better than
strace :). Never heard of that, but now I am pretty impressed. Thanks.
then it seems it's a portsnap problem and not cron...get it working in
your normal shell first and then focus on automating
Hello,
On Wed, Aug 31, 2005 at 11:28:03AM -0500 or thereabouts, Will Maier wrote:
So what happens when you run:
# /usr/local/sbin/portsnap fetch
# /usr/local/sbin/portsnap update
They are both running pretty well from command line.
on the command line? Your portsnap.conf
Hi there,
To run portsnap and/or freebsd update as a cron job use :
#portsnap cron
*NOT fetch
Regards,
Ruben
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of martin hudec
Sent: August 31, 2005 6:30 PM
To: freebsd-questions@freebsd.org
Subject: Re
://portsnap.daemonology.net
This is fine.
Looking back over the thread, you mention that, in cron, you're
running the following:
portsnap cron
portsnap -I update
^^
You also say that you think your process isn't functioning because
the ctimes in /usr/ports are too old. You do realize
a few months ago the following appeared in -stable
In the last episode (Mar 15), Niklas Saers said:
On Tue, 15 Mar 2005, Niklas Saers wrote:
I've got four servers that all have the same problem: when jobs get
started from Cron, they die after some time with an Abort trap.
Jobs
Hi
I have a 5.4-R system with an Adaptec 2200S. I also have Linux
emulation running and the aac_linux kernel module installed and I can
run the aaccli program successfully in a terminal window and use it
to check status of the RAID controller. However, if I do it from a
cron job (same
controller. However, if I do it from a
cron job (same script as I run in a terminal) I get no output.
aaccli uses terminal control commands and I suspect it is detecting
that it is not connected to a terminal and hence not running.
However, I so-far have not been able to get the Cron output
in a terminal window and use it
to check status of the RAID controller. However, if I do it from a
cron job (same script as I run in a terminal) I get no output.
aaccli uses terminal control commands and I suspect it is detecting
that it is not connected to a terminal and hence not running.
However, I so-far
On Wed, 29 Jun 2005, Francisco Reyes wrote:
For the archives.
Problem was crontab failing.
first thing I noticed was
postfix/sendmail[36590]: fatal:
No recipient addresses found in message
header
In /var/log/maillog
Then someone suggested to look at /var/log/cron
There I saw errors like
I am not sure how to go about this. If I do not want to touch the system
CRON, is it possible to create a personal CRON that could run two
programs, both at the super user level
Example:
I want to update the ports tree and then run portmanager to install the
updates. These obviously have
On Wed, 29 Jun 2005, Gerard Seibert wrote:
I am not sure how to go about this. If I do not want to touch the system
CRON, is it possible to create a personal CRON that could run two
programs, both at the super user level
Example:
I want to update the ports tree and then run portmanager
Have a crontab
14 22 * * * /usr/home/hank/bin/tozoraida.sh
which is not running
When I try to research it the only thing I see is an error in maillog
postfix/sendmail[36590]: fatal:
No recipient addresses found in message
header
Have setup crontab on several other machines and never had any
On Fri, 2005-05-20 at 01:49 +0300, Odhiambo Washington wrote:
Perhaps trivial
How do I run a cron job at the end of every month?
#minute hourmdaymonth wdaywho command
59 23 29 * * user/path/to/cmd
http://www.netmeister.org/news
Odhiambo Washington wrote:
How do I run a cron job at the end of every month?
Depending how date-critical 'end of every month' is
to you, you may also consider adding your script in
/etc/periodic/monthly/
Rob.
__
Do You Yahoo!?
Tired of spam
Perhaps trivial
How do I run a cron job at the end of every month?
-Wash
http://www.netmeister.org/news/learn2quote.html
--
+==+
|\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz
Odhiambo Washington wrote:
Perhaps trivial
How do I run a cron job at the end of every month?
Type:
man 5 crontab
[...]
# run at 2:15pm on the first of every month -- output mailed to paul
15 14 1 * * $HOME/bin/monthly
[...]
When you are ready to rock, type:
crontab -e
Good Luck
On Fri, 20 May 2005, Odhiambo Washington wrote:
Perhaps trivial
How do I run a cron job at the end of every month?
Your question is a little unclear. Do you mean how do I run a job at
the end of a month when the months are not the same length so I can't
use a fixed day-of-the-month value
Hello. We have a FreeBSD 5.3 box with stock sendmail
running in delivery only mode (sendmail=NO). When a cron
job generates output, the delivery of that message to
external address is delayed by one day. Nothing obvious is
in the maillog. The system can resolve hostnames and MX
records. The proper
301 - 400 of 602 matches
Mail list logo