; the files have different formats.
FAQ entry:
Why do I keep getting messages like ``root: not found'' after editing
my crontab file?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS
___
[EMAIL PROTECTED
Lowell Gilbert wrote:
A simple copy won't work; the files have different formats.
Understood. The format of the tab is fine. When the command runs,
however, there is a path problem because the job will generate errors
like chkgrp: not found.
___
Scott Rothgaber wrote:
Lowell Gilbert wrote:
A simple copy won't work; the files have different formats.
Understood. The format of the tab is fine. When the command runs,
however, there is a path problem because the job will generate errors
like chkgrp: not found.
Cron has a very limited
What is CRON
What he is can do?
--
Best Regards, Denis.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Like all programs, you can read the documentation from the manual pages.
type man cron
or
http://www.freebsd.org/cgi/man.cgi
Its used for scheduling programs to automatically run at a given time or times.
---Mike
At 11:39 AM 17/09/2003, Denis wrote:
What is CRON
What he is can do
What is CRON
What he is can do?
Man cron, or
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-c
ron.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send
foo_dev foo.zip
--
Cron job -
--
# export, zip up and scp foo source to server_name
17 14 * * * /home/bar/bin/export-foo
2 /dev/null /dev/null
--
When I execute the script by hand, it completes without any problems.
When I let a cronjob handle
- Original Message -
From: Gerard Samuel [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 1:26 PM
Subject: Script doesn't complete via Cron
When I execute the script by hand, it completes without any
problems.
When I let a cronjob handle
At 14:26 12.09.2003 -0400, Gerard Samuel wrote:
...
scp -q foo.zip server_name:
rm -rf foo_dev foo.zip
--
Cron job -
--
# export, zip up and scp foo source to server_name
17 14 * * * /home/bar/bin/export-foo
2 /dev/null /dev/null
--
When I execute
Questions
Subject: Script doesn't complete via Cron
Script -
#!/bin/sh
#
# To roll up a zip file of source code
#
date=`date '+%Y-%m-%d'`
cd ~/temp
rm -rf foo_dev foo.zip
export CVS_RSH=ssh
export CVSROOT=:ext:[EMAIL PROTECTED]:/xxx/yyy/zzz
cvs -Q export -D $date -d foo_dev foo
Ok, I figured out the problem. The step that creates the zip file,
wasn't creating the zip file, because,
I wasn't using the full path to the zip command. Since there was no
files to scp, the script ended.
Once I started using /usr/local/bin/zip, things started working
correctly with cron
On Sun, Sep 07, 2003 at 10:44:18PM -0400, Jason Lieurance wrote:
Thank you for the response. Does the date part (Date=`date +%Y-%m-%d`) go as part
of the cron job? Thanks again.
% characters are special in crontabs -- you need to escape them using
a backslash:
0 0 * * * mail -s log [EMAIL
Hello,
We use cronolog to rotate our apache log files so are log files look like so:
2003-09-07-error_log
Now, I want to make a cron job to mail the log to our webmaster every day but I
having terrible visualizing how to do it. If I do 'cat /var/log/http/2003-09-* |
mail -s log [EMAIL PROTECTED
On Sun, 7 Sep 2003, Jason Lieurance wrote:
Hello,
We use cronolog to rotate our apache log files so are log files look like so:
2003-09-07-error_log
Now, I want to make a cron job to mail the log to our webmaster every
day but I having terrible visualizing how to do it. If I do 'cat
/var
Hello,
Thank you for the response. Does the date part (Date=`date +%Y-%m-%d`) go as part
of the cron job? Thanks again.
--
Jason
David Fleck said:
On Sun, 7 Sep 2003, Jason Lieurance wrote:
Hello,
We use cronolog to rotate our apache log files so are log files look like so:
2003-09-07
David Fleck said:
Date=`date +%Y-%m-%d`
cat /var/log/http/${Date}-error_log | mail -s log
[EMAIL PROTECTED]
From: Jason Lieurance [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 07, 2003 9:44 PM
Subject: Re: Making a certain cron job
Hello
On Sun, 7 Sep 2003, Jason Lieurance wrote:
Thank you for the response. Does the date part (Date=`date +%Y-%m-%d`)
go as part of the cron job? Thanks again.
Well, you could cram all this into a crontab line, but you'll probably
want to use the cron entry to run a script containing these commands
Gary,
Thank you for your reply. Your comments are informative but I still
don't know what to do!
For some reason, I am not receiving mail sent from cron to root.
Therefore, I cannot see any of my (rather important) daily cron logs.
I can send mail to root from anyplace else, either inside
Hello Ralph,
Tuesday, September 2, 2003, 1:27:16 PM, you wrote:
RD For some reason, I am not receiving mail sent from cron to root.
RD Therefore, I cannot see any of my (rather important) daily cron logs.
RD I can send mail to root from anyplace else, either inside or outside
RD the box
On Tue, Sep 02, 2003 at 02:27:16PM -0400, Ralph Dratman wrote:
Gary,
Thank you for your reply. Your comments are informative but I still
don't know what to do!
For some reason, I am not receiving mail sent from cron to root.
Therefore, I cannot see any of my (rather important) daily
On Tue, Sep 02, 2003 at 02:27:16PM -0400, Ralph Dratman wrote:
Gary,
Thank you for your reply. Your comments are informative but I still
don't know what to do!
For some reason, I am not receiving mail sent from cron to root.
Therefore, I cannot see any of my (rather important) daily
Hi Ralph,
When I manually send mail to root from either inside the box or from
elsewhere, it is properly received by [EMAIL PROTECTED] (an external domain).
Any and all comments would be appreciated. Thank you in advance.
It sounds like you have it setup properly. It works fine for me
Matthew Graybosch writes:
On 20:49 Thu 28 Aug , Scott Ballantyne wrote:
You can always set the NO_MAILWRAPPER=true and NO_SENDMAIL=true flags
in /etc/make.conf.
I thought you were supposed to also set sendmail_enable=NONE in
/etc/rc.conf as well.
Well, that makes it a lot less
Thank you for your replies.
My /etc/mail/mailer.conf is as follows:
-
sendmail/var/qmail/bin/sendmail
send-mail /var/qmail/bin/sendmail
mailq /var/qmail/bin/qmail-qread
newaliases /var/qmail/bin/newaliases
Hello Ralph,
Friday, August 29, 2003, 4:36:35 PM, you wrote:
RD Thank you for your replies.
I am in the process of migrating from Linux and setting up my first
FreeBSD box, so I am unfamiliar with FreeBSD, but I do know qmail well.
Qmail normally logs to its own multilog, (far superior with
Since I switched from sendmail to qmail, most of my cron jobs are no
longer sending me log files.
Has anyone else seen this happen?
Regards,
Ralph
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Ralph Dratman [EMAIL PROTECTED] writes:
Has anyone else seen this happen?
What does your mailer.conf look like?
Matthias
--
Matthias Teege -- http://www.mteege.de
make world not war
PGP-Key auf Anfrage
___
[EMAIL PROTECTED] mailing list
Hi, you could try to solve this by renaming the actual mail/sendmail binaries and by
linking instead the one from /var/qmail/bin
Adi Pircalabu
On Wed, 27 Aug 2003 19:21:04 -0400
Ralph Dratman [EMAIL PROTECTED] wrote:
Since I switched from sendmail to qmail, most of my cron jobs
On Thu, Aug 28, 2003 at 09:45:55AM +0300, Adrian Pircalabu wrote:
Hi, you could try to solve this by renaming the actual mail/sendmail binaries and by
linking instead the one from /var/qmail/bin
Bad solution. The correct way is to use mailer.conf(5).
--
Jonathan Chen [EMAIL PROTECTED]
You're right, I'm right, it's a matter of taste, somehow.
On Thu, 28 Aug 2003 19:05:19 +1200
Jonathan Chen [EMAIL PROTECTED] wrote:
On Thu, Aug 28, 2003 at 09:45:55AM +0300, Adrian Pircalabu wrote:
Hi, you could try to solve this by renaming the actual mail/sendmail binaries and
by
On Wed, Aug 27, 2003 at 07:21:04PM -0400, Ralph Dratman wrote:
Since I switched from sendmail to qmail, most of my cron jobs are no
longer sending me log files.
Has anyone else seen this happen?
Regards,
Ralph
___
[EMAIL PROTECTED] mailing
On Thu, Aug 28, 2003 at 10:12:55AM +0300, Adrian Pircalabu wrote:
You're right, I'm right, it's a matter of taste, somehow.
The mailer.conf method is preferred as it doesn't wipe itself out when
you upgrade your system with buildworld/installworld.
On Thu, 28 Aug 2003 19:05:19 +1200
Jonathan
Jonathan Chen [EMAIL PROTECTED] writes:
On Thu, Aug 28, 2003 at 10:12:55AM +0300, Adrian Pircalabu wrote:
You're right, I'm right, it's a matter of taste, somehow.
The mailer.conf method is preferred as it doesn't wipe itself out when
you upgrade your system with buildworld/installworld.
On 20:49 Thu 28 Aug , Scott Ballantyne wrote:
You can always set the NO_MAILWRAPPER=true and NO_SENDMAIL=true flags
in /etc/make.conf.
I thought you were supposed to also set sendmail_enable=NONE in
/etc/rc.conf as well.
--
Matthew Graybosch
http://www.starbreaker.net
The best way to
I am getting this message every 5 minutes. Can somebody explain to me
why root apparently is not found here?
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
X-Cron
On Fri, Aug 22, 2003 at 07:18:16PM +0200, Rick Hoekman wrote:
I am getting this message every 5 minutes. Can somebody explain to me
why root apparently is not found here?
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL
?
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/root
X
]
Delivered-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/root
X-Cron-Env: LOGNAME=root
X-Cron-Env: USER=root
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 me please?
--
Jim Pazarena Box 550
Hi folks,
I don't know what is wrong with the cron on my computer. I am running
freebsd 4.8 stable. The /etc/crontab file in my computer is:
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin
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 me please
by setting up a script on a remote server that is
activated every 10 minutes by cron and automatically loads the remote
script then copies the results to a local file on the new public server
which people can then view at their leasure without killing our stats
server. What is going
the server. I would like to lower the traffic
on this server by setting up a script on a remote server that is
activated every 10 minutes by cron and automatically loads the remote
script then copies the results to a local file on the new public server
which people can then view at their leasure
Daan Vreeken [PA4DAN] [EMAIL PROTECTED] writes:
# man fetch
Add also curl and wget, lynx --source, ...
For a cron job its the best to first fetch the page to a temporary
file. This file should be checked for some success indicators. If the
file is valid, it can be renamed to the public
: Friday, July 18, 2003 6:19 PM
Subject: Cron job dump requires tape change
I hope I am not asking a NewB question, but I read through dump and cron
and see no obvious way to run a nightly dump through cron AND allow user
intervention to change the tape.
I am running a DDS2 tape drive
a backup.
I use bacula for my home lan and fbackup on hpux.
bacula uses a mysql database to keep track of your tapes (which I
thought was very cool)
Thanks to all who addressed my question. Further study showed, obviously,
there is no way to let dump be interactive from cron, regardless of switches.
So
question. Further study showed, obviously,
there is no way to let dump be interactive from cron, regardless of
switches.
Have you forgotten my screen suggestion? Seriously, it works for `dump' too!
[see
http://www.geocities.com/conor_daly/mondo-with-cron/mondo-with-cron.html --
different backup
I hope I am not asking a NewB question, but I read through dump and cron
and see no obvious way to run a nightly dump through cron AND allow user
intervention to change the tape.
I am running a DDS2 tape drive and trying to backup around 12GB. The tape
runs to the end, issues the end of tape
I hope I am not asking a NewB question, but I read through dump and cron
and see no obvious way to run a nightly dump through cron AND allow user
intervention to change the tape.
I am running a DDS2 tape drive and trying to backup around 12GB. The tape
runs to the end, issues the end of tape
Sorry to repost, but wanted to post with a subject line.
I hope I am not asking a NewB question, but I read through dump and cron
and see no obvious way to run a nightly dump through cron AND allow user
intervention to change the tape.
I am running a DDS2 tape drive and trying
Bob Collins wrote:
I hope I am not asking a NewB question, but I read through dump and
cron and see no obvious way to run a nightly dump through cron AND
allow user intervention to change the tape.
Unfortunately, I believe that is correct, at least for normal tape drives (ones
without a tape
a working system after restoring those parts from a dump, and tar seems
to work fine for regular files.
- Original Message -
From: Bob Collins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:35 AM
Subject: Dump from cron job, need to change tape
Sorry to repost
DDS2 is only 4GB native.
- Original Message -
From: Jerry McAllister [EMAIL PROTECTED]
To: Bob Collins [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:48 AM
Subject: Re: Dump from cron job, need to change tape
Sorry to repost, but wanted to post
On Mon, Jul 21, 2003 at 02:35:27PM -0400, Bob Collins wrote:
Sorry to repost, but wanted to post with a subject line.
I hope I am not asking a NewB question, but I read through dump and cron
and see no obvious way to run a nightly dump through cron AND allow user
intervention to change
On Monday 21 July 2003 02:02 pm, Mike Maltese wrote:
I am running a DDS2 tape drive and trying to backup around 12GB.
The tape runs to the end, issues the end of tape, and then dump
fails. I would like to be able to change the tape and get a backup.
I use bacula for my home lan and fbackup
Another item to check: Faulty time service might produce
such duplication. The first cron job would run on the
old time; the time updates; it then runs the job again.
There would not be a 3rd run because the clock is now correct.
On Wed, Jul 02, 2003 at 08:23:30PM -0400, John wrote:
For quite
At 04:03 AM 7/3/2003, Andrew Boothman wrote:
On Thursday 03 July 2003 1:23 am, John wrote:
Hi All,
For quite some time now my system has been executing all entries in the
crontab twice, instead of the expected once. This happens most obviously
for the periodic scripts, but also on some
a
buildworld upgrade from one 4.x to another 4.x. Which upgrade, I don't
recall unfortunately. The executions of the scripts appear to occur within
minutes of each other, if not seconds.
I checked /var/cron/tabs/root, and all entries are in there only once.
Cron is also only running as a single
On Thursday 03 July 2003 1:23 am, John wrote:
Hi All,
For quite some time now my system has been executing all entries in the
crontab twice, instead of the expected once. This happens most obviously
for the periodic scripts, but also on some scripts that I added for
nightly, weekly, or runs
- that is strange.
My only thought off-hand would be that someone has managed to install
/etc/crontab as a personal crontab?
Try 'crontab -l' as root and any other possible users to see if they have a
crontab that is similar to the /etc/crontab
Just a thought..
Andrew
Or do this:
# ls -l /var/cron
* * * rootadjkerntz -a
I keep getting these emails
Message 5:
From [EMAIL PROTECTED] Tue Jun 17 00:20:00 2003
Date: Tue, 17 Jun 2003 00:20:00 -0500 (CDT)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] root/usr/libexec/atrun
X
root: not found
Jun 17 00:20:00 silver-fox /usr/sbin/cron[247]: (root) CMD
(root^I/usr/libexec/atrun)
I'm guessing, but it sounds a lot like cron is trying to execute
root as a command. The ^I is probably a control character that go into
a file somewhere by accident. You might want
) for details.
1,310-5 * * * rootadjkerntz -a
I keep getting these emails
Message 5:
From [EMAIL PROTECTED] Tue Jun 17 00:20:00 2003
Date: Tue, 17 Jun 2003 00:20:00 -0500 (CDT)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] root/usr
Hi,
In your script try giving the full path of all the commands you are using.
Cheers
SSR
From: Martin Tsanov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: cron job
Date: Sat, 29 Mar 2003 17:09:01 +0100
Hello
I have a gateway with wireless interface wi0. From time to time it
hangs
Hello
I have a gateway with wireless interface wi0. From time to time it hangs down
with the following log entry in /var/log/all.log
Mar 28 22:19:37 morpheus /kernel: wi0: failed to allocate 1594 bytes on NIC
Mar 28 22:19:37 morpheus /kernel: wi0: tx buffer allocation failed
Mar 28 22:19:37
or not.
What is the difference??? And what am I doing wrong??
Scripts run from cron(8) don't get anything like the environment
settings you have when you try running the script from your login.
Specifically, you need to explicitly set the path to include
/usr/local/bin or the fping command won't
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_report
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_report spam_report | mail -s
spam_daily_report [EMAIL PROTECTED]
what
Hi friends,
Recently I put into my crontab the following line
4 0 */10 * * /usr/bin/tar -cyf /backup/lab.`date +%d%m%Y`.tar.bz /lab
But although I can execute the command into my shell, crond refuses to
execute and send me an email saying:
Syntax error: EOF in backquote substitution
What am
On Mon, Mar 10, 2003 at 02:52:34PM +0200, Bigbrother wrote:
Hi friends,
Recently I put into my crontab the following line
4 0 */10 * * /usr/bin/tar -cyf /backup/lab.`date +%d%m%Y`.tar.bz /lab
But although I can execute the command into my shell, crond refuses to
execute and send me an
download the latest McAfee superdat file, ie: sdat4250.exe into
the /root/bin dir.
When I run this script manually, it runs fine. When I have it run via a
cron job, it stalls. This is what I see in 'ps -ax'
7673 ?? I 0:00.00 cron: running job (cron)
7674 ?? Is 0:00.00 /bin/sh -c /root
PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron operator@tina /usr/libexec/save-entropy
Message: vidcontrol: not found
How can I stop it? Running R5
Specify the full path to vidcontrol in the crontab entry that wants to
call it. Remember that the environment
Yesterday I was 'playing' with vidcontrol. Got a few error messages, did
a pkg_add and finally achieved what I set out to.
Ever thereafter I have been receiving an error message on the hour and
every 11 minutes:
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject
I'm loooking for help with Cron. When cron is running my mailbox starts to
fill up with hundreds of mails from cron and they are all the same:
Date: Thu, 23 Jan 2003 17:40:00 GMT
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron root@schro root /usr/libexec/atrun
X-Cron
In the last episode (Jan 27), Schrodinger said:
I'm loooking for help with Cron. When cron is running my mailbox starts to
fill up with hundreds of mails from cron and they are all the same:
Date: Thu, 23 Jan 2003 17:40:00 GMT
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED
ok, I read man cron and man crontab, and it's as clear as mud. Anyplace I
can read more and maybe make the light dawn on this useful feature? OR,
would anyone care to explain more?
--
end
Respectfully,
Kirk D Bailey
+-Thou Art Free. -Eris
# [EMAIL PROTECTED] / 2002-12-26 11:08:36 -0500:
ok, I read man cron and man crontab, and it's as clear as mud. Anyplace I
can read more and maybe make the light dawn on this useful feature? OR,
would anyone care to explain more?
certainly.
--
If you cc me or remove the list(s
ok, I read man cron and man crontab, and it's as clear as mud. Anyplace I
can read more and maybe make the light dawn on this useful feature? OR,
would anyone care to explain more?
So, what questions do you have? What is so befuddling.
jerry
--
end
Respectfully
Kirk Bailey wrote:
ok, I read man cron and man crontab, and it's as clear as mud.
Anyplace I can read more and maybe make the light dawn on this useful
feature? OR, would anyone care to explain more?
Basically, you create a file where each line is a command to be executed
on a given schedule
cron and man crontab, and it's as clear as mud.
Anyplace I can read more and maybe make the light dawn on this useful
feature? OR, would anyone care to explain more?
Basically, you create a file where each line is a command to be executed
on a given schedule. The line looks like this (first line
Message -
From: Mike Jeays [EMAIL PROTECTED]
To: Kirk Bailey [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 26, 2002 9:23 AM
Subject: Re: cron/crontab befuddlement
Kirk Bailey wrote:
ok, I read man cron and man crontab, and it's as clear as mud.
Anyplace I can read more
PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 26, 2002 9:38 AM
Subject: Re: cron/crontab befuddlement
ok, this is making sense. Do you recall how to configure the FreeBSD so it
will define a preferred editor in the environment? As of now, it runs the
default of vi, which I dispise
PROTECTED]
Sent: Thursday, December 26, 2002 9:46 AM
Subject: Re: cron/crontab befuddlement
this is a little shell dpendent.
I am a tcsh guy, so I can type setenv and see several settings including
EDITOR. If I want to change it, I type setenv EDITOR pico, if I wanted
pico
as an example
# [EMAIL PROTECTED] / 2002-12-26 12:38:52 -0500:
Mike Jeays wrote:
Kirk Bailey wrote:
ok, I read man cron and man crontab, and it's as clear as mud.
Anyplace I can read more and maybe make the light dawn on this useful
feature? OR, would anyone care to explain more?
Basically, you create
Jeays wrote:
Kirk Bailey wrote:
ok, I read man cron and man crontab, and it's as clear as mud.
Anyplace I can read more and maybe make the light dawn on this useful
feature? OR, would anyone care to explain more?
Basically, you create a file where each line is a command to be executed
Hi All,
I am having a weird problem on a freebsd 4.7. I have two perl scripts I am
running via cron, one is run as root to make a backup of a directory and the
files in it, the second is run as a user to scp files to another box. What I
am encountering is the second script is running but dying
At 01:05 PM 12.11.2002 -0600, Eric Six wrote:
Hi All,
I am having a weird problem on a freebsd 4.7. I have two perl scripts I am
running via cron, one is run as root to make a backup of a directory and the
files in it, the second is run as a user to scp files to another box. What I
am
Jack L. Stone [EMAIL PROTECTED] writes:
Hi!
Eric: I'm no script expert, but perhaps if you added the full path to perl
in the cron line. That's usually a problem
Shouldn't be the case here, because then, the script wouldn't start at
all, but as Eric has pointed out it runs up to the first
Interactively, I am running the script as the backup account that cron uses
to run the copy script. And it runs correctly interactively. I try the ssh
-v and see if that says anything.. Is there a timeout issue that cron might
be seeing? Anyone know? hmm.. I am stumped.
Eric
-Original
On Wed, Dec 11, 2002 at 01:05:13PM -0600, Eric Six wrote:
Hi All,
I am having a weird problem on a freebsd 4.7. I have two perl scripts I am
running via cron, one is run as root to make a backup of a directory and the
files in it, the second is run as a user to scp files to another box. What
At 08:49 PM 12.11.2002 +0100, Norbert Koch wrote:
Jack L. Stone [EMAIL PROTECTED] writes:
Hi!
Eric: I'm no script expert, but perhaps if you added the full path to perl
in the cron line. That's usually a problem
Shouldn't be the case here, because then, the script wouldn't start at
all
: dettaching channel user^M
That's the last line of the log.. nothing else is run. SCP should be invoked
from there...
Eric
-Original Message-
From: Eric Six [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:53 PM
To: 'Norbert Koch'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Cron script
Eric Six [EMAIL PROTECTED] writes:
That's the last line of the log.. nothing else is run. SCP should be
invoked from there...
Hmm, everything looks fine. You don't need a return value, so you
could try and issue the command as system($SSH, @args) and examine the
return code.
But this is
From: Chatchawan Wongsiriprasert
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 02, 2002 7:28 PM
Subject: Start deamon by cron
Does anyone have any experience start daemon process from cron?.
Yes. But, a quid pro quo, this question seems to deal with stopping
a daemon,
which I
Hi.
I'm still running FreeBSD 4.3, but I suspect the problem isn't
specific to that one operating system.
I'm having fits running ftp from cron jobs. Shell or expect scripts
that execute perfectly from the terminal fail in a seeminly non-
deterministic variety of ways when run from cron
On Fri, Nov 15, 2002 at 10:39:31AM -0600, John wrote:
No, it's not something simple like cron not running expect, or ftp
being in non-interactive mode. The prework all runs correctly,
I even set the hash byte count and get the feedback from that...
when the put command starts, though, things
On Fri, Nov 15, 2002 at 10:41:24AM -0600, John wrote:
I'm having fits running ftp from cron jobs. Shell or expect
scripts that execute perfectly from the terminal fail in a seeminly non-
deterministic variety of ways when run from cron.
Just for completeness, here are the cron results
On Fri, Nov 15, 2002 at 05:30:59PM +, Matthew Seaman wrote:
On Fri, Nov 15, 2002 at 10:39:31AM -0600, John wrote:
No, it's not something simple like cron not running expect, or ftp
being in non-interactive mode. The prework all runs correctly,
I even set the hash byte count and get
|restart}
echo
exit 64
;;
esac
Then I did put this in roots crontab:
10 0 * * * /usr/local/etc/rc.d/adac.sh restart
The adac-daemon is restarted, but everytime the job runs it leaves a
sh-zombie from the cron-job. By killing the cron-job, the sh-zombie
disappears
.
Before it hits the limit though, it acts just like a daemon.
The adac-daemon is restarted, but everytime the job runs it leaves a
sh-zombie from the cron-job. By killing the cron-job, the sh-zombie
disappears (as it should).
Do anyone know why this is happening?
I think I do. It's
501 - 600 of 602 matches
Mail list logo