Re: Cron problems

2010-08-28 Thread Thomas Keusch
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

Re: cron not sending emails (SOLVED)

2010-06-10 Thread Carlos Fernando Assis Paniago
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

Re: cron not sending emails

2010-06-01 Thread Laszlo Nagy
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

Re: cron not sending emails

2010-06-01 Thread Laszlo Nagy
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?

Re: cron not sending emails

2010-06-01 Thread APseudoUtopia
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

Re: cron not sending emails

2010-06-01 Thread Matthias Apitz
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

Re: cron not sending emails

2010-05-30 Thread Laszlo Nagy
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

Re: cron not sending emails

2010-05-30 Thread Jerry
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

Re: cron not sending emails

2010-05-30 Thread Matthias Apitz
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:

Re: cron not sending emails

2010-05-28 Thread Chuck Swiger
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

Re: cron not sending emails

2010-05-28 Thread Laszlo Nagy
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

Re: cron not sending emails

2010-05-28 Thread Matthias Fechner
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

Re: cron not sending emails

2010-05-28 Thread Laszlo Nagy
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

Re: cron mail problem solved

2009-06-15 Thread Frank Shute
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

Re: cron mail problem solved

2009-06-15 Thread Tim Judd
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

Re: Cron Not Sending Mail

2009-03-10 Thread APseudoUtopia
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

Re: Cron Not Sending Mail

2009-03-04 Thread Morgan Wesström
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

Re: Cron Not Sending Mail

2009-03-04 Thread APseudoUtopia
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 ?

Re: Cron Not Sending Mail

2009-03-04 Thread Morgan Wesström
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

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
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    

Re: Cron Not Sending Mail

2009-03-03 Thread Glen Barber
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 *       *      

Re: Cron Not Sending Mail

2009-03-03 Thread Morgan Wesström
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

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
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

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
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

Re: Cron Not Sending Mail

2009-03-03 Thread Glen Barber
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

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
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

Re: Cron Not Sending Mail

2009-03-03 Thread Mel
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

Re: Cron Not Sending Mail

2009-03-03 Thread Morgan Wesström
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,

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
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

Re: Cron Not Sending Mail

2009-03-02 Thread APseudoUtopia
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

Re: Cron Not Sending Mail

2009-03-02 Thread Frank Shute
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

Re: Cron Not Sending Mail

2009-03-02 Thread Glen Barber
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.)

Re: Cron Not Sending Mail

2009-03-01 Thread Frank Shute
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

Re: Cron Question

2008-09-06 Thread ElihuJ
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

Re: Cron Question

2008-09-03 Thread Derek Ragona
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

Re: Cron Question

2008-09-03 Thread ElihuJ
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

Re: Cron Question

2008-09-02 Thread Albert Shih
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

Re: Cron Question

2008-09-02 Thread Paul Schmehl
--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

Re: Cron Question

2008-09-02 Thread Dan Nelson
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

Re: Cron Question

2008-09-02 Thread RW
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

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-09 Thread Gilles
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

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-09 Thread Gilles
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

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-04 Thread Gilles
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

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-03 Thread Andrew Pantyukhin
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

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-03 Thread Jeffrey Goldberg
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

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-03 Thread prad
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 ...

Re: Cron question

2008-04-26 Thread John Almberg
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

Re: Cron question

2008-04-25 Thread John Almberg
...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

Re: Cron question

2008-04-24 Thread Chuck Swiger
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

Re: Cron question

2008-04-24 Thread Wojciech Puchar
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

Re: Cron question

2008-04-24 Thread Matt
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

Re: cron to attach a gz file

2008-02-01 Thread Mel
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

Re: cron to attach a gz file

2008-01-31 Thread Peter Boosten
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 |

Re: cron to attach a gz file

2008-01-31 Thread perryh
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

Re: cron to attach a gz file

2008-01-31 Thread Peter Boosten
[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

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-15 Thread Kevin Kinsey
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

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-15 Thread Ian Smith
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

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-13 Thread Rudy
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

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-13 Thread Kevin Kinsey
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

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-03 Thread Kevin Kinsey
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

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-03 Thread Support (Rudy)
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:

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-03 Thread Dan Nelson
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:

Re: cron/send mail question

2007-11-15 Thread Steve Bertrand
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

Re: cron/send mail question

2007-11-15 Thread cknipe
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

Re: cron/send mail question

2007-11-15 Thread Giorgos Keramidas
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.

RE: Cron not working till 28/08/07

2007-09-19 Thread Matthijs Breemans
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

Re: Cron not working till 28/08/07

2007-09-19 Thread Harry Matthiesen Jensen
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

Re: Cron not working till 28/08/07

2007-09-19 Thread RW
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

Re: Cron not working till 28/08/07

2007-09-19 Thread Derek Ragona
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,

Re: Cron not working till 28/08/07

2007-09-19 Thread Jerry McAllister
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,

Re: cron not working till 28/08/07

2007-09-19 Thread Bill Vermillion
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

Re: cron jobs not done during sleep

2007-09-17 Thread Bill Moran
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

Re: cron jobs not done during sleep

2007-09-17 Thread David Kelly
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

Re: cron jobs not done during sleep

2007-09-17 Thread RW
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

Re: cron job every 5 hours

2007-07-18 Thread RW
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

Re: cron job every 5 hours

2007-07-17 Thread Olivier Nicole
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

Re: cron job every 5 hours

2007-07-17 Thread Fredrik Tolf
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

Re: cron job every 5 hours

2007-07-17 Thread Garrett Cooper
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

Re: cron job every 5 hours

2007-07-17 Thread Garrett Cooper
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

Re: cron job every 5 hours

2007-07-15 Thread Olivier Nicole
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

Re: cron job every 5 hours

2007-07-15 Thread Garrett Cooper
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

Re: cron job every 5 hours

2007-07-13 Thread Duane Hill
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

Re: cron job every 5 hours

2007-07-13 Thread Josh Paetzel
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

Re: cron mystery

2007-02-26 Thread Chuck Swiger
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

Re: cron mystery

2007-02-26 Thread Robin Becker
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

Re: cron mystery

2007-02-26 Thread Derek Ragona
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

Re: cron problem

2007-01-30 Thread Oliver Koch
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

Re: cron problem

2007-01-30 Thread Gerard Seibert
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

Re: CRON Script not working right.

2007-01-17 Thread Derek Ragona
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

Re: CRON Script not working right.

2007-01-16 Thread Bill Campbell
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

Re: cron not running

2007-01-01 Thread Annelise Anderson
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

Re: cron not running

2006-12-28 Thread Derek Ragona
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

Re: cron not running

2006-12-28 Thread Roger Olofsson
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

Re: cron not running

2006-12-28 Thread James Riendeau
] 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

Re: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

2006-09-22 Thread Martin McCormick
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

Re: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

2006-09-22 Thread Bernd Trippel
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

Re: cron job limits

2006-06-13 Thread Chuck Swiger
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

Re: cron job limits

2006-06-13 Thread Derek Ragona
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

Re: cron job errors

2006-05-24 Thread Mark Busby
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

Re: cron job errors

2006-05-23 Thread Lowell Gilbert
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   2   3   >