On 3 February 2010 15:49, Lowell Gilbert <
freebsd-questions-lo...@be-well.ilk.org> wrote:
> Nadir Aliyev writes:
>
> > Hello friends.
> >
> > I have interesting situation with cron.
> >
> > I created a
> > simple script for process monitoring:
> >
> > #!/usr/local/bin/bash
> > processname=`/bin/
Nadir Aliyev writes:
> Hello friends.
>
> I have interesting situation with cron.
>
> I created a
> simple script for process monitoring:
>
> #!/usr/local/bin/bash
> processname=`/bin/ps aux | /usr/bin/grep -v grep |
> /usr/bin/grep -c 'maintenance_jobs.php'`
> if [ $processname -le "0" ];
> th
Glen Barber wrote:
Rolf Nielsen wrote:
On 2010-01-13 22:04, Jeronimo Calvo wrote:
did a crontab -r, a a new crontab -e, using:
* * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh
* * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl
In addition to the other
Rolf Nielsen wrote:
> On 2010-01-13 22:04, Jeronimo Calvo wrote:
> > did a crontab -r, a a new crontab -e, using:
> >
> > * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh
> > * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl
> >
In addition to the other suggestions, I'd i
On Thu, Jan 14, 2010 at 02:20:07AM +0200, Kaya Saman wrote:
Hi,
> @reboot root/usr/local/sbin/logwatch.pl
> 02 4 * * * root/usr/local/sbin/logwatch.pl
this format/syntax is only valid for the system contab.
> The interesting thing here is that it shows them as being run:
>
Thanks, I inputted the data as you suggested so now I will wait until
the time specified to see if it ran or not!
Regards,
Kaya
Chuck Swiger wrote:
Hi--
On Jan 13, 2010, at 4:20 PM, Kaya Saman wrote:
It didn't work so I tried to cut down areas which I suspected might not work
and ended
Hi--
On Jan 13, 2010, at 4:20 PM, Kaya Saman wrote:
> It didn't work so I tried to cut down areas which I suspected might not work
> and ended up with the syntax below for root:
>
> crontab -l shows:
>
> @reboot root/usr/local/sbin/logwatch.pl
> 02 4 * * * root/usr/local/s
On 2010-01-13 22:04, Jeronimo Calvo wrote:
did a crontab -r, a a new crontab -e, using:
* * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh
* * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl
tailing the /var/log/cron I can see that is being executed every
minute... but no e
did a crontab -r, a a new crontab -e, using:
* * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh
* * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl
tailing the /var/log/cron I can see that is being executed every
minute... but no emails arrived with is the proof that the scri
On 2010-01-13 21:43, Jeronimo Calvo wrote:
Hi folks,
Im having probs when a root crontab located on /var/cron/tabs/root
with this content
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.DUtgfVoBT0 installed on Wed Jan 13 20:08:29 2010)
# (Cron version -- $FreeBSD: src/u
On Sun, 2009-05-24 at 18:45 -0600, Tim Judd wrote:
> How about a jail for America/NY, and a jail for AU/Sydney? that might
> work.
>
>
> --TJ
>
That's a good solution, but I am still somewhat puzzled by cron's
behaviour relative to what I expected from the man page.
>From the man page for
On Sun, May 24, 2009 at 5:31 PM, GT wrote:
> On Sat, 2009-05-23 at 23:41 -0600, Tim Judd wrote:
>
> >
> >
> >
> >
> > I propose the following:
> > cron itself has no concept of timezone. it is 'date' that is picking
> up
> > TZ and reporting as such. Cron's job is so simple is that it wakes
On Sat, 2009-05-23 at 23:41 -0600, Tim Judd wrote:
>
>
>
>
> I propose the following:
> cron itself has no concept of timezone. it is 'date' that is picking up
> TZ and reporting as such. Cron's job is so simple is that it wakes up each
> minute to see if it has work to do, regardless of t
On Sat, May 23, 2009 at 9:46 PM, GT wrote:
> Late entry to this thread, but...
>
> I thought I had found an answer to this; at present I think I might have
> been mistaken.
>
> My crontab has about a dozen jobs that need to run in
> TZ=America/New_York, and another dozen that ideally want
> TZ=Au
2009/5/24 GT :
> Late entry to this thread, but...
>
> I thought I had found an answer to this; at present I think I might have
> been mistaken.
>
> My crontab has about a dozen jobs that need to run in
> TZ=America/New_York, and another dozen that ideally want
> TZ=Australia/Sydney... the server d
Mel Flynn wrote:
..
>
> Once a year, since you can use months and days. In fact, iirc DST changes are
> known 5 years ahead (I'm sure I"ll be corrected if this is not the case) so
> one can even run a yearly cronjob to change the crontab ;)
>
..
You might want to mention that to the Australi
On Tuesday 31 March 2009 09:56:14 Olivier Nicole wrote:
> > > Is there a way to start jobs with cron using different a time-zone
> > > different from local time zone?
> > >
> > > I am in a TZ that has no Daylight Savings Time, and would like to
> > > start a job (reccording of a web cast) in a TZ t
> > Is there a way to start jobs with cron using different a time-zone
> > different from local time zone?
> >
> > I am in a TZ that has no Daylight Savings Time, and would like to
> > start a job (reccording of a web cast) in a TZ that has DST (so with a
> > time difference that changes along the
On Tuesday 31 March 2009 06:52:29 Olivier Nicole wrote:
> Hi,
>
> Is there a way to start jobs with cron using different a time-zone
> different from local time zone?
>
> I am in a TZ that has no Daylight Savings Time, and would like to
> start a job (reccording of a web cast) in a TZ that has DST
On Tue, 26 Aug 2008 16:05:13 +0200 Leslie Jensen <[EMAIL PROTECTED]> wrote:
> I have a machine that only runs during office hours. I've rescheduled
> the periodic jobs in crontab so that they run when the machine is on.
>
> My question is can I reschedule the adjkerntz job as well, without
Andrew D wrote:
Leslie Jensen wrote:
I have a machine that only runs during office hours. I've rescheduled
the periodic jobs in crontab so that they run when the machine is on.
My question is can I reschedule the adjkerntz job as well, without
causing any problems? I'm concerned because the
Leslie Jensen wrote:
I have a machine that only runs during office hours. I've rescheduled
the periodic jobs in crontab so that they run when the machine is on.
My question is can I reschedule the adjkerntz job as well, without
causing any problems? I'm concerned because the job is set to run
On Sat, Jul 26, 2008 at 08:18:14PM +0800, Jyun-Yi Liou wrote:
> Hi Yavuz,
> It's easy to tell crontab stop sending mail to you by disable sendmail in
> /etc/rc.conf
>
> %> echo "sendmail_enable=\"NO\""
> man rc.conf for more information :-)
Kind of overkill, don't you think?
Sendmail does more t
Hi Yavuz,
It's easy to tell crontab stop sending mail to you by disable sendmail in
/etc/rc.conf
%> echo "sendmail_enable=\"NO\""
man rc.conf for more information :-)
or set the variable MAILTO null on corntab
MAILTO=""
Regards,
jyuny1
2008/7/26 Yavuz Maslak <[EMAIL PROTECTED]>
> Hello
>
> On
Yavuz Maslak <[EMAIL PROTECTED]> wrote:
> On freebsd7.0, my crontab sends many mails about its jobs.
>
> I want crontab not to send these mails
>
> How can I do that ?
This is somewhat of a FAQ; see:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/038638.html
--
Sahil Tandon
At 01:34 PM 6/25/2008, Schiz0 wrote:
Hey,
I have another odd problem. Cron refuses to send any emails. Here's
what DID work:
-Sending email via /usr/bin/mail on command line
-Having a crontab run a script which in turn sends an email
-Piping the output of a crontab command into /usr/bin/mail. S
In message <[EMAIL PROTECTED]>,
Schiz0 ([EMAIL PROTECTED]) wrote:
>
> I have another odd problem. Cron refuses to send any emails. Here's
> what DID work:
[...]
I also see this, both on 6-STABLE and 7-STABLE. I have not tried
8-CURRENT.
This is what I have found so far. After cron has
On Tue, Apr 22, 2008 at 05:03:41PM -0400, Robert Huff wrote:
>
> andrew clarke writes:
>
> > > > @reboot /usr/local/bin/fetchmail -d 120
> > >
> > > Is there a specific reason that you choose to do that rather than
> > > starting it by adding: fetchmail_enable="YES" to the /etc/rc.conf file
On Tue 2008-04-22 17:03:41 UTC-0400, Robert Huff ([EMAIL PROTECTED]) wrote:
> > > > @reboot /usr/local/bin/fetchmail -d 120
> > >
> > > Is there a specific reason that you choose to do that rather than
> > > starting it by adding: fetchmail_enable="YES" to the /etc/rc.conf file?
> >
> > Si
andrew clarke writes:
> > > @reboot /usr/local/bin/fetchmail -d 120
> >
> > Is there a specific reason that you choose to do that rather than
> > starting it by adding: fetchmail_enable="YES" to the /etc/rc.conf file?
>
> Since I have root access on that machine, yes I could do that. But
On Tue 2008-04-22 16:34:56 UTC-0400, Gerard ([EMAIL PROTECTED]) wrote:
> > @reboot /usr/local/bin/fetchmail -d 120
>
> Is there a specific reason that you choose to do that rather than
> starting it by adding: fetchmail_enable="YES" to the /etc/rc.conf file?
Since I have root access on that mach
On Tue, 22 Apr 2008 21:18:26 +1000
andrew clarke <[EMAIL PROTECTED]> wrote:
> On Tue 2008-04-22 12:34:12 UTC+0200, Zbigniew Szalbot
> ([EMAIL PROTECTED]) wrote:
>
> > If I want to start a program at every system reboot and the program
> > should not be started by root, is it enough for me to edit
On Tue 2008-04-22 12:34:12 UTC+0200, Zbigniew Szalbot ([EMAIL PROTECTED]) wrote:
> If I want to start a program at every system reboot and the program should
> not be started by root, is it enough for me to edit a users crontab with
> the following directive?
>
> @reboot /path/to/file.sh
Yes. T
See the FAQ entry titled
"Why do I keep getting messages like “root: not found” after editing my crontab
file?"
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS
--
Lowell Gilbert, embedded/networking software engineer, Boston area
On Wednesday 27 June 2007, dhaneshk k wrote:
> Hi all
>
> I need to configure a crontab for a FreeBSD -6.2 box .
>
>
>To test it , as root user I entered a line into the /etc/crontab
> by using easyeditor as follows
> 50 21 * * * root/root/test
In response to "Steve Franks" <[EMAIL PROTECTED]>:
> In my crontab the following:
>
> @reboot /usr/local/sbin/ataidle -I 5 0 0
>
> gives me:
>
> cron: login_getclass unknown class 'ataidle'
>
> on reboot. What am I missing?
My guess is that you put that line in /etc/crontab, thus the format
Noah wrote:
> I just rebuilt a new 5.5 server and I am finding root's crontab entries
> are not being executed. any body got some clues about how I can
> troubleshoot this issue so my cron entries are bring executed.
Verify that root's crontab does anything at all by running a simple
command eve
On Friday 24 March 2006 21:52, Kevin Kinsey wrote:
> 3. Reasoning: It appears that you have modified /etc/crontab.
> In BSD-land, you usually want to use the "root" crontab (which
> is under /var/cron/tabs/root) or your personal account
> crontab (/var/cron/tabs/username) to do cron work.
What'
Rodrigo G. Tavares de Souza wrote:
Hi,
Do I have to start something to crontab works?
configuration file:
# MINHOUR DAY/MONTH MONTH DAY/WEEK USERCOMMAND
59 23 *** root
"/usr/local/etc/sarg/make-report"
0 0
Rodrigo G. Tavares de Souza wrote:
Hi,
Do I have to start something to crontab works?
configuration file:
# MINHOUR DAY/MONTH MONTH DAY/WEEK USERCOMMAND
59 23 *** root
"/usr/local/etc/sarg/make-report"
0 0
Rodrigo G. Tavares de Souza wrote:
Hi,
Do I have to start something to crontab works?
configuration file:
# MINHOUR DAY/MONTH MONTH DAY/WEEK USERCOMMAND
59 23 *** root
"/usr/local/etc/sarg/make-report"
0 0
On Wed, Oct 26, 2005 at 08:06:28PM -0400, Kris Kennaway wrote:
> On Wed, Oct 26, 2005 at 07:51:03PM -0400, Bob Hall wrote:
> > On Wed, Oct 26, 2005 at 12:31:44PM -0400, Kris Kennaway wrote:
> > > On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
> > > > On Wed, Oct 26, 2005 at 03:52:53AM -0
On Wed, Oct 26, 2005 at 07:51:03PM -0400, Bob Hall wrote:
> On Wed, Oct 26, 2005 at 12:31:44PM -0400, Kris Kennaway wrote:
> > On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
> > > On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
> > > > On Tue, Oct 25, 2005 at 07:10:57PM -0
On Wed, Oct 26, 2005 at 12:31:44PM -0400, Kris Kennaway wrote:
> On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
> > On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
> > > On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
> > > > On Tue, Oct 25, 2005 at 03:00:18PM -0
On Wed, Oct 26, 2005 at 11:23:29AM -0400, Bob Hall wrote:
> On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
> > On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
> > > On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
> > > > On Tue, Oct 25, 2005 at 02:45:02PM -0
On Wed, Oct 26, 2005 at 03:52:53AM -0400, Kris Kennaway wrote:
> On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
> > On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
> > > On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
> > > > On Tue, Oct 25, 2005 at 01:13:52PM -0
On Tue, Oct 25, 2005 at 07:10:57PM -0400, Bob Hall wrote:
> On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
> > On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
> > > On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
> > > > Hello! I'm attempting to run GPG from
On Tue, Oct 25, 2005 at 03:00:18PM -0400, Kris Kennaway wrote:
> On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
> > On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
> > > Hello! I'm attempting to run GPG from cron, and it's not working. I can
> > > run the script from the
On Oct 25, 2005, at 12:18 PM, Kris Kennaway wrote:
On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
Hello! I'm attempting to run GPG from cron, and it's not
working. I can run the script from the command line, and all
works perfectly. When I try to run it from cron, however,
On Tue, Oct 25, 2005 at 02:45:02PM -0400, Bob Hall wrote:
> On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
> > Hello! I'm attempting to run GPG from cron, and it's not working. I can
> > run the script from the command line, and all works perfectly. When I try
> > to run it from
On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
> Hello! I'm attempting to run GPG from cron, and it's not working. I can run
> the script from the command line, and all works perfectly. When I try to run
> it from cron, however, it doesn't work. The crontab calls this script,
>
* Robert Wall <[EMAIL PROTECTED]> [2005-10-25 13:13:52 -0500]:
> I'm attempting to run GPG from cron, and it's not working. I can run
> the script from the command line, and all works perfectly. When I try
> to run it from cron, however, it doesn't work.
Run /usr/bin/env (or wherever env is locate
On Tue, Oct 25, 2005 at 01:13:52PM -0500, Robert Wall wrote:
> Hello! I'm attempting to run GPG from cron, and it's not working. I can run
> the script from the command line, and all works perfectly. When I try to run
> it from cron, however, it doesn't work. The crontab calls this script,
>
On August 30, 2005 11:16 am, Kevin Kinsey wrote:
> Nicolas Blais wrote:
> >Hi,
> >
> >Does our crontab allow the use of "L" (as found on
> >http://wiki.opensymphony.com/display/QRTZ1/CronTriggers+Tutorial?decorator
> >=printable) in the day-of-month field which would allow for a job to run
> > on a
Nicolas Blais wrote:
Hi,
Does our crontab allow the use of "L" (as found on
http://wiki.opensymphony.com/display/QRTZ1/CronTriggers+Tutorial?decorator=printable)
in the day-of-month field which would allow for a job to run on a 31th or feb
28?
It would be useful for certain apps like /www/
Nicolas Blais <[EMAIL PROTECTED]> writes:
> Does our crontab allow the use of "L" (as found on
> http://wiki.opensymphony.com/display/QRTZ1/CronTriggers+Tutorial?decorator=printable)
>
> in the day-of-month field which would allow for a job to run on a 31th or feb
> 28?
>
> It would be usefu
"Eugene M. Minkovskii" <[EMAIL PROTECTED]> writes:
> I put in my crontab following string:
>
> # min hour mday month wday command
> 0 7*/3 * * echo "Hello world"
>
> So, I hope, this command will be workind every third day:
> 3,6,9,12 etc, because at man crontab we read:
>
>
>
Hello,
thanks a lot, it is a more advanced idea, I'll consider using it, but
since then I've realized what caused my problem. I mistyped a line, and
I should have written 2>&1 instead of 2>$1. I haven't been very advanced
in shell scripting yet. :)
Cheers,
Gábor
Paul Schmehl wrote:
- Origin
- Original Message -
From: "Kövesdán Gábor" <[EMAIL PROTECTED]>
To:
Sent: Sunday, February 13, 2005 1:13 PM
Subject: Crontab script
Hi,
I've seen somewhere an easy way to check whether a program with a
specified pid is running or not. I've made a crontab script to check my
programs ba
On 12/30/04 01:30 PM, Mike Jeays sat at the `puter and typed:
> On Thu, 2004-12-30 at 12:15, Leon wrote:
> > Hi All,
> >
> > I edited "crontab" file to update my ports every day at certain time.
> > But , when time comes, I do not see any information on the screen, that
> > something was updated.
On Thu, 2004-12-30 at 12:15, Leon wrote:
> Hi All,
>
> I edited "crontab" file to update my ports every day at certain time.
> But , when time comes, I do not see any information on the screen, that
> something was updated.
> Should the system sow any information about update or not?
> If not, ho
"Steve Bertrand" <[EMAIL PROTECTED]> writes:
> I'm wondering where the crontab is located for the root user. I know
> there is the system crontab in /etc, however doing a #crontab -e when
> su'd to root, it comes up with a different crontab.
Right. Just as you said: the former is the system cro
> On Fri, 17 Sep 2004 09:36:01 -0400 (EDT), Steve Bertrand
> <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> I'm wondering where the crontab is located for the root user. I know
>> there is the system crontab in /etc, however doing a #crontab -e
>> when
>> su'd to root, it comes up with a different cro
On Fri, 17 Sep 2004 09:36:01 -0400 (EDT), Steve Bertrand
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm wondering where the crontab is located for the root user. I know
> there is the system crontab in /etc, however doing a #crontab -e when
> su'd to root, it comes up with a different crontab.
>
>
On Thu, 26 Aug 2004, Joshua Tinnin wrote:
> > >>man cron gives:
> > >>
> > >>crontab [-u user] file
> > >>
> > >>'file' being the important part, methinks. ;)
> > >
> > >I'm not sure what you mean ... If you're wondering, I'm using the
> > > main crontab file (/etc/crontab), as right now there's
On Thursday 26 August 2004 04:04 pm, "Kevin D. Kinsey, DaleCo, S.P."
<[EMAIL PROTECTED]> wrote:
> Joshua Tinnin wrote:
> >On Thursday 26 August 2004 08:28 am, "Kevin D. Kinsey, DaleCo, S.P."
> >
> ><[EMAIL PROTECTED]> wrote:
> >>Unlike the system crontab, user crontabs, including root's, are
> >>u
Joshua Tinnin wrote:
On Thursday 26 August 2004 08:28 am, "Kevin D. Kinsey, DaleCo, S.P."
<[EMAIL PROTECTED]> wrote:
Unlike the system crontab, user crontabs, including root's, are
under /var/cron; the file format is slightly different, and misuse
of the system crontab for regular jobs is the c
On Thu, 26 Aug 2004 13:48:19 -0700
kstewart <[EMAIL PROTECTED]> wrote:
> On Thursday 26 August 2004 01:15 pm, Joshua Tinnin wrote:
> > On Thursday 26 August 2004 02:28 am, kstewart <[EMAIL PROTECTED]>
> > wrote:
> > > On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
> > > > On Thursday 26
On Thursday 26 August 2004 01:15 pm, Joshua Tinnin wrote:
> On Thursday 26 August 2004 02:28 am, kstewart <[EMAIL PROTECTED]> wrote:
> > On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
> > > On Thursday 26 August 2004 12:42 am, epilogue
> > > <[EMAIL PROTECTED]>
> > >
> > > wrote:
> > > >
On Thursday 26 August 2004 02:28 am, kstewart <[EMAIL PROTECTED]> wrote:
> On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
> > On Thursday 26 August 2004 12:42 am, epilogue
> > <[EMAIL PROTECTED]>
> >
> > wrote:
> > > On Thu, 26 Aug 2004 00:07:26 -0700
> > >
> > > Joshua Tinnin <[EMAIL PR
On Thursday 26 August 2004 08:28 am, "Kevin D. Kinsey, DaleCo, S.P."
<[EMAIL PROTECTED]> wrote:
> Joshua Tinnin wrote:
> >On Thursday 26 August 2004 12:42 am, epilogue
> > <[EMAIL PROTECTED]>
> >
> >wrote:
> >>On Thu, 26 Aug 2004 00:07:26 -0700
> >>
> >>Joshua Tinnin <[EMAIL PROTECTED]> wrote:
> >
Paul Schmehl said:
> Just out of curiosity, why would you use cron rather than
> /etc/periodic/daily?
If you want something to run at a different time of day than the daily
scripts. You could modify /etc/crontab and move the time around, but the rest
of the scripts still follow and most of us hav
On Thu, Aug 26, 2004 at 11:48:53AM -0400, Lucas Holt wrote:
> Here is my setup which works:
>
> crontab -e yeilds
> 0 1 * * * /bin/sh /root/bin/port.sh 2>&1 | mail root
>
> port.sh contains:
> #!/bin/sh
>
> /usr/local/bin/cvsup /etc/ports-supfile
> /usr/local/sbin/portsdb -Uu
> /usr/local/
--On Thursday, August 26, 2004 12:07:26 AM -0700 Joshua Tinnin
<[EMAIL PROTECTED]> wrote:
OK, I have searched the archives, and I can't find that my question has
been answered previously, but please forgive me if that's incorrect.
I'm using (or rather trying to use) cron to update my ports tree d
Here is my setup which works:
crontab -e yeilds
0 1 * * * /bin/sh /root/bin/port.sh 2>&1 | mail root
port.sh contains:
#!/bin/sh
/usr/local/bin/cvsup /etc/ports-supfile
/usr/local/sbin/portsdb -Uu
/usr/local/sbin/portversion -v | /usr/bin/grep "<"
then this gets mailed to me everyday with the
Joshua Tinnin wrote:
On Thursday 26 August 2004 12:42 am, epilogue <[EMAIL PROTECTED]>
wrote:
On Thu, 26 Aug 2004 00:07:26 -0700
Joshua Tinnin <[EMAIL PROTECTED]> wrote:
OK, I have searched the archives, and I can't find that my question
has been answered previously, but please forgive me
On Thursday 26 August 2004 01:09 am, Joshua Tinnin wrote:
> On Thursday 26 August 2004 12:42 am, epilogue <[EMAIL PROTECTED]>
>
> wrote:
> > On Thu, 26 Aug 2004 00:07:26 -0700
> >
> > Joshua Tinnin <[EMAIL PROTECTED]> wrote:
> > > OK, I have searched the archives, and I can't find that my question
On Thursday 26 August 2004 12:42 am, epilogue <[EMAIL PROTECTED]>
wrote:
> On Thu, 26 Aug 2004 00:07:26 -0700
>
> Joshua Tinnin <[EMAIL PROTECTED]> wrote:
> > OK, I have searched the archives, and I can't find that my question
> > has been answered previously, but please forgive me if that's
> > i
On Thursday 26 August 2004 12:19 am, Subhro Kar <[EMAIL PROTECTED]>
wrote:
> First of all, you need to read the manual page for cvsup. It is
> clearly stated that the option -L shows the amount of verbosity cvsup
> maintains. If you are running it from inside a script, then either
> you have to
>
On Thu, 26 Aug 2004 00:07:26 -0700
Joshua Tinnin <[EMAIL PROTECTED]> wrote:
> OK, I have searched the archives, and I can't find that my question has
> been answered previously, but please forgive me if that's incorrect.
>
> I'm using (or rather trying to use) cron to update my ports tree daily.
First of all, you need to read the manual page for cvsup. It is
clearly stated that the option -L shows the amount of verbosity cvsup
maintains. If you are running it from inside a script, then either you
have to
reduce the verbosity to 1 ie, the command will be cvsup -g -L 1 supfile
OR
redirect th
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua Tinnin
Sent: Thursday, August 26, 2004 10:07 AM
To: FreeBSD-questions
Subject: crontab question involving cvsup
OK, I have searched the archives, and I can't find that my question has been
answered
On Fri, 2004-05-14 at 12:27, JJB wrote:
> I have perl script A. which runs 2 other perl scripts B. & C. When
A
> is run from command line B & C get run. When I put script A in
> /etc/corntab I can see that A does in deed get run, but scripts B
&
> C do not. I looked in /var/log/cron and /var/log/m
On Fri, 2004-05-14 at 12:27, JJB wrote:
> I have perl script A. which runs 2 other perl scripts B. & C. When
A
> is run from command line B & C get run. When I put script A in
> /etc/corntab I can see that A does in deed get run, but scripts B
&
> C do not. I looked in /var/log/cron and /var/log/m
On Fri, 2004-05-14 at 12:27, JJB wrote:
> I have perl script A. which runs 2 other perl scripts B. & C. When A
> is run from command line B & C get run. When I put script A in
> /etc/corntab I can see that A does in deed get run, but scripts B &
> C do not. I looked in /var/log/cron and /var/log/me
On Thu, Mar 04, 2004 at 10:56:55AM -0600, Brian Henning wrote:
> Everytime something runs from the the crontab for a given user such as root, I
> get an email with the results of the execution. I am running a few crontabs that
> run every 2 minutes and this gets to be a lot of excess email. How ca
[Brian Henning, 2004-03-04]
> Everytime something runs from the the crontab for a given user such as root, I
> get an email with the results of the execution. I am running a few crontabs that
> run every 2 minutes and this gets to be a lot of excess email. How can I turn
> off this feature.
Y
Brian Henning wrote:
Greetings:
Everytime something runs from the the crontab for a given user such as root, I
get an email with the results of the execution. I am running a few crontabs that
run every 2 minutes and this gets to be a lot of excess email. How can I turn
off this feature.
#man 5
> Greetings,
> I am running 5.1-release. I created the file
> /var/cron/tabs/root . It is owner root, group wheel.
> permissions are -rw---
>
> I have the following entry in the file root
>
> 0 22 2-31 * * /usr/local/bin/rsync -av /dept2/Marketing/ /data/Marketing
> 2>&1 /r
> oot/rsync.log
>
> Greetings,
> I am running 5.1-release. I created the file
> /var/cron/tabs/root . It is owner root, group wheel.
> permissions are -rw---
>
> I have the following entry in the file root
>
> 0 22 2-31 * * /usr/local/bin/rsync -av /dept2/Marketing/
> /data/Marketing
> 2>&1 /r
> oot/rsync
On Thu, Feb 12, 2004 at 04:06:56PM -0600, Darryl Hoar wrote:
> Greetings,
> I am running 5.1-release.
> I have installed rsync from ports, and want to use it to archive.
> I want to add an entry to cron so it runs nightly. I didn't quite
> understand the man page when it came to arguments to the
Chris wrote:
Kevin D. Kinsey, DaleCo, S.P. wrote:
[EMAIL PROTECTED] wrote:
Hi,
I have a number of scripts that run every night using a crontab. In
my crontab file I'm using the MAILTO flag to get cron to email me
every time it runs which results in a lot of emails.
Is there any way of instr
Have you checked out /etc/defaults/periodic.conf?
On Wednesday, November 26, 2003, at 12:55 PM, Chris wrote:
Kevin D. Kinsey, DaleCo, S.P. wrote:
[EMAIL PROTECTED] wrote:
Hi,
I have a number of scripts that run every night using a crontab. In
my crontab file I'm using the MAILTO flag to get c
On Wed, Nov 26, 2003 at 11:55:54AM -0600, Chris wrote:
[ Redirecting output of cron jobs ]
> Very cool! Now, what if you do the same, but instead of the normal
> crons, can something like this be done with the /etc/periodic/daily,
> weekly, and monthly routines?
If you don't have one already, c
Kevin D. Kinsey, DaleCo, S.P. wrote:
[EMAIL PROTECTED] wrote:
Hi,
I have a number of scripts that run every night using a crontab. In
my crontab file I'm using the MAILTO flag to get cron to email me
every time it runs which results in a lot of emails.
Is there any way of instructing cron to
[EMAIL PROTECTED] writes:
> Is there any way of instructing cron to only email me if the cron job
> fails?
Mail is only sent if there is output. Make sure there's no output if
the job succeeds (perhaps by redirecting it) and you'll be all set.
___
[EM
On Wednesday 26 November 2003 10:41 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I have a number of scripts that run every night using a crontab. In my
> crontab file I'm using the MAILTO flag to get cron to email me every
> time it runs which results in a lot of emails.
>
> Is there any way of instruct
[EMAIL PROTECTED] wrote:
Hi,
I have a number of scripts that run every night using a crontab. In my
crontab file I'm using the MAILTO flag to get cron to email me every
time it runs which results in a lot of emails.
Is there any way of instructing cron to only email me if the cron job
fails?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
On Wednesday 12 November 2003 21:13, Darryl Hoar wrote:
> commented out. Do I have to create this file from
> scratch ?
Yes. 'man 5 crontab' for examples.
- --
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowe
On Wed, 12 Nov 2003 15:13:34 -0600
"Darryl Hoar" <[EMAIL PROTECTED]> granted us these pearls of wisdom:
> Greetings,
> I am running 4.7 and want to use cron to run a command.
> when I look in /var/cron/tabs, there is not a file for root.
> If I do a crontab -e its blank.
>
> I thought there was
1 - 100 of 125 matches
Mail list logo