[FAQ pointer] Re: Cron

2003-10-09 Thread Lowell Gilbert
; 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

Re: [FAQ pointer] Re: Cron

2003-10-09 Thread Scott Rothgaber
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. ___

Re: [FAQ pointer] Re: Cron

2003-10-09 Thread Kevin D. Kinsey, DaleCo, S.P.
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's CRON?

2003-09-17 Thread Denis
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]

Re: What's CRON?

2003-09-17 Thread Mike Tancsa
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

RE: What's CRON?

2003-09-17 Thread Charles Howse
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

Script doesn't complete via Cron

2003-09-12 Thread Gerard Samuel
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

Re: Script doesn't complete via Cron

2003-09-12 Thread Kevin Kinsey, DaleCo, S.P.
- 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

Re: Script doesn't complete via Cron

2003-09-12 Thread Alexander Haderer
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

RE: Script doesn't complete via Cron

2003-09-12 Thread Jim
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

Re: Script doesn't complete via Cron

2003-09-12 Thread Gerard Samuel
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

Re: Making a certain cron job

2003-09-08 Thread Matthew Seaman
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

Making a certain cron job

2003-09-07 Thread Jason Lieurance
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

Re: Making a certain cron job

2003-09-07 Thread David Fleck
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

Re: Making a certain cron job

2003-09-07 Thread Jason Lieurance
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

Re: Making a certain cron job

2003-09-07 Thread Kevin Kinsey, DaleCo, S.P.
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

Re: Making a certain cron job

2003-09-07 Thread David Fleck
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

Re: Cron on qmail not sending me logs

2003-09-02 Thread Ralph Dratman
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

Re: Cron on qmail not sending me logs

2003-09-02 Thread gv-list-freebsdquestions
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

Re: Cron on qmail not sending me logs

2003-09-02 Thread Bob Hall
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

Re: Cron on qmail not sending me logs

2003-09-02 Thread Scott Ballantyne
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

Re: Cron on qmail not sending me logs

2003-08-30 Thread Scott Ballantyne
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

Re: Cron on qmail not sending me logs

2003-08-29 Thread Scott Ballantyne
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

Re: Cron on qmail not sending me logs

2003-08-29 Thread Ralph Dratman
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

Re: Cron on qmail not sending me logs

2003-08-29 Thread gv-list-freebsdquestions
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

Cron on qmail not sending me logs

2003-08-28 Thread Ralph Dratman
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

Re: Cron on qmail not sending me logs

2003-08-28 Thread Matthias Teege
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

Re: Cron on qmail not sending me logs

2003-08-28 Thread Adrian Pircalabu
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

Re: Cron on qmail not sending me logs

2003-08-28 Thread Jonathan Chen
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]

Re: Cron on qmail not sending me logs

2003-08-28 Thread Adrian Pircalabu
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

Re: Cron on qmail not sending me logs

2003-08-28 Thread Francesco Casadei
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

Re: Cron on qmail not sending me logs

2003-08-28 Thread Jonathan Chen
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

Re: Cron on qmail not sending me logs

2003-08-28 Thread Scott Ballantyne
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.

Re: Cron on qmail not sending me logs

2003-08-28 Thread Matthew Graybosch
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

Cron job question

2003-08-22 Thread Rick Hoekman
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

Re: Cron job question

2003-08-22 Thread Matthew Seaman
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

Re[2]: Cron job question

2003-08-22 Thread Rick Hoekman
? 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

Re: Cron job question

2003-08-22 Thread Vitali Malicky
] 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

cron question

2003-08-14 Thread Jim Pazarena
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

about cron (newbie question)

2003-08-14 Thread Peng Zhang
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

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 me please

Simple cron script to copy remote webpage locally?

2003-07-27 Thread Dragoncrest
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

Re: Simple cron script to copy remote webpage locally?

2003-07-27 Thread Daan Vreeken [PA4DAN]
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

Re: Simple cron script to copy remote webpage locally?

2003-07-27 Thread Frank Tegtmeyer
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

Re: Cron job dump requires tape change

2003-07-23 Thread Mike Maltese
: 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

Re: Dump from cron job, need to change tape

2003-07-22 Thread Bob Collins
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

Re: Dump from cron job, need to change tape

2003-07-22 Thread Bob Collins
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

Cron job dump requires tape change

2003-07-22 Thread Bob Collins
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

Cron job dump requires tape change

2003-07-22 Thread Bob Collins
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

Re: Dump from cron job, need to change tape

2003-07-21 Thread Jerry McAllister
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

Re: Dump from cron job, need to change tape

2003-07-21 Thread Chuck Swiger
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

Re: Dump from cron job, need to change tape

2003-07-21 Thread Mike Maltese
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

Re: Dump from cron job, need to change tape

2003-07-21 Thread Mike Maltese
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

Re: Dump from cron job, need to change tape

2003-07-21 Thread stan
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

Re: Dump from cron job, need to change tape

2003-07-21 Thread Matthew Bettinger
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

Re: cron executes entries twice

2003-07-03 Thread Dan Welch
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

Re: cron executes entries twice

2003-07-03 Thread John
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

cron executes entries twice

2003-07-02 Thread John
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

Re: cron executes entries twice

2003-07-02 Thread Andrew Boothman
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

Re: cron executes entries twice

2003-07-02 Thread Jack L. Stone
- 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

Cron wacking out

2003-06-17 Thread Mike McGrath
* * * 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

Re: Cron wacking out

2003-06-17 Thread Jaime
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

Re: Cron wacking out

2003-06-17 Thread Bill Moran
) 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

Re: cron job

2003-03-31 Thread Sunil Sunder Raj
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

cron job

2003-03-29 Thread Martin Tsanov
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

Re: cron job

2003-03-29 Thread Matthew Seaman
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

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_report

cron question

2003-03-14 Thread Kenzo
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

CRON and error message 'EOF in bacquote substitution'

2003-03-10 Thread Bigbrother
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

Re: CRON and error message 'EOF in bacquote substitution'

2003-03-10 Thread Matthew Seaman
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

script runs ok, however cron job stalls with wget

2003-02-27 Thread Paul Hamilton
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

Re: Terminating mail from cron

2003-02-07 Thread Daniel Bye
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

Terminating mail from cron

2003-02-06 Thread Kjell
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

Cron

2003-01-26 Thread Schrodinger
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

Re: Cron

2003-01-26 Thread Dan Nelson
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

cron/crontab befuddlement

2002-12-26 Thread Kirk Bailey
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

Re: cron/crontab befuddlement

2002-12-26 Thread Roman Neuhauser
# [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

Re: cron/crontab befuddlement

2002-12-26 Thread Jerry McAllister
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

Re: cron/crontab befuddlement

2002-12-26 Thread Mike Jeays
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

Re: cron/crontab befuddlement

2002-12-26 Thread Kirk Bailey
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

Re: cron/crontab befuddlement

2002-12-26 Thread Brian
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

Re: cron/crontab befuddlement

2002-12-26 Thread Brian
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

Re: cron/crontab befuddlement

2002-12-26 Thread Brian
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

Re: cron/crontab befuddlement

2002-12-26 Thread Roman Neuhauser
# [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

Re: cron/crontab befuddlement

2002-12-26 Thread Jack L. Stone
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

Cron script problem....

2002-12-11 Thread Eric Six
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

Re: Cron script problem....

2002-12-11 Thread Jack L. Stone
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

Re: Cron script problem....

2002-12-11 Thread Norbert Koch
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

RE: Cron script problem....

2002-12-11 Thread Eric Six
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

Re: Cron script problem....

2002-12-11 Thread Mike Galvez
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

Re: Cron script problem....

2002-12-11 Thread Jack L. Stone
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

RE: Cron script problem....

2002-12-11 Thread Eric Six
: 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

Re: Cron script problem....

2002-12-11 Thread Norbert Koch
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

Re: Start deamon by cron

2002-12-02 Thread Kevin D. Kinsey, DaleCo, S.P.
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

FTP and cron

2002-11-15 Thread John
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

Re: FTP and cron

2002-11-15 Thread Matthew Seaman
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

Re: FTP and cron

2002-11-15 Thread John
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

Re: FTP and cron

2002-11-15 Thread John
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

Cron leaving a zombie

2002-09-26 Thread Paul Everlund
|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

Re: Cron leaving a zombie

2002-09-26 Thread Paul Everlund
. 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

<    1   2   3   4   5   6   7   >