You need a different tool. Crontabs, by definition, specify tasks to
runat certain times. You can't run "this morning's" crontab this
afternoon. The crontabs are constantly monitored, and when a task
becomes due, it's executed.
One approach is to edit the crontab, c
On Wed, Oct 22, 2003 at 03:24:56PM -0400, Timothy Stone wrote:
> directories like cron.hourly, cron.daily, et al. I want to do something
> where I can say in effect, "Hey Cron, i know that user's crontab is set
> do something at this time, but do it now."
Can'
On Wednesday 22 October 2003 01:04 pm, Timothy Stone wrote:
List,
I know this can be done, but it escapes me how to do it.
I wanted to execute a user crontab this afternoon that normally runs
daily first thing in the morning. Nothing seems to work. And somehow
most manuals seem to live it
On Wednesday 22 October 2003 01:04 pm, Timothy Stone wrote:
> List,
>
> I know this can be done, but it escapes me how to do it.
>
> I wanted to execute a user crontab this afternoon that normally runs
> daily first thing in the morning. Nothing seems to work. And somehow
>
List,
I know this can be done, but it escapes me how to do it.
I wanted to execute a user crontab this afternoon that normally runs
daily first thing in the morning. Nothing seems to work. And somehow
most manuals seem to live it unsaid, "you must innately know how to do
this."
Tip
> Sounds like cron isn't running as root. So it is able to write a file
> without hard coding a path to it because it is creating the file in it's
> working directory. Create a directory that the user cron is running as
> can write to. That sounds like what the problem is.
>
> Wade
Actually, Ju
al Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Chris Purcell
Sent: Friday, October 10, 2003 12:59 PM
To: [EMAIL PROTECTED]
Subject: crontab entry
root's crontab looks something like this...
SHELL=/bin/bash
MAILTO=root
PATH=/usr/local/sbin:/usr/local/bin:/sbin
Chris Purcell wrote
> root's crontab looks something like this...
>
> SHELL=/bin/bash
> MAILTO=root
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> rsync=/usr/bin/rsync -e ssh -azv --delete --delete-excluded
> --exclude=/some/folder [EMAIL PROTECTE
root's crontab looks something like this...
SHELL=/bin/bash
MAILTO=root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
rsync=/usr/bin/rsync -e ssh -azv --delete --delete-excluded
--exclude=/some/folder [EMAIL PROTECTED]::home /home/
7 */2 * * * $rsync > /root/rsync_`/
On Fri, 12 Sep 2003 22:32:51 -0700 (PDT), Khademul Islam wrote:
> Now I have the folling in my crontab.
>
> 59 23 * * * sh /etc/cron.specialTest/ >> With this I
> got the error message (I thought it should run any
> executable located under the SpeicalTest folder >>
I have exported that, still it didn't help!
I also tried to change the "crontab -e", as one of the
other redhat user suggested. That didn't make it work!
Any suggestion will be highly appreciated.
Now I have the folling in my crontab.
59 23 * * * sh /etc/cron.specialTest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 10 Sep 2003 18:10:22 +0200, Michael Schwendt wrote:
> > 10 7 * * * root run-parts /etc/cron.special
> > 02 6 16 * * * root run-parts /etc/cron.specialMonthly
> > 02 22 * * 6 root run-parts /etc/cron.specialWeekly
>
&
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 10 Sep 2003 07:28:01 -0700 (PDT), Khademul Islam wrote:
> I have setup crontab, using crontab -e to send some
> e-mail in a routine basis. This is the error message I
> got ... how I can fix it?
I think I've answered a si
Hello,
Have u tried
export PATH=/usr/local:/usr/bin:$PATH
Please correct me if I'm totally off or not understanding the prob.
j
Khademul Islam said:
> I have setup crontab, using crontab -e to send some
> e-mail in a routine basis. This is the error message I
> got ... ho
I have setup crontab, using crontab -e to send some
e-mail in a routine basis. This is the error message I
got ... how I can fix it?
>>>
& 9
Message 9:
>From [EMAIL PROTECTED] Mon Sep 1
06:02:01 2003
Date: Mon, 1 Sep 2003 06:02:00 -0500
From: [EMAIL PROTECTED] (Cron Daemon)
To:
run will have the problem.)
>
> interestingly enough, there are no files in /etc/cron.hourly.
>
> /bin/bash: line 1: root: command not found
>
> the /etc/crontab file is as follows:
>
> SHELL=/bin/sh
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
&
root: command not found
the /etc/crontab file is as follows:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 2 Sep 2003 09:18:12 -0500, Khademul Islam wrote:
> I have setup crontab, using crontab -e to send some e-mail in a routine
> basis. This is the error message I got today how I can fix it?
>
> >>>
> & 9
I have setup crontab, using crontab -e to send some e-mail in a routine
basis. This is the error message I got today how I can fix it?
>>>
& 9
Message 9:
>From [EMAIL PROTECTED] Mon Sep 1 06:02:01 2003
Date: Mon, 1 Sep 2003 06:02:00 -0500
From: [EMAIL PROTECTED] (Cron Da
I have setup crontab the following way: (My weekely report doesn't work!
and how can I setup my daily report to go only in the weekdays)
[EMAIL PROTECTED] dislam]$ cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts
On 28-Jul-2003/13:08 -0500, Khademul Islam <[EMAIL PROTECTED]> wrote:
>I have setup crontab the following way: (My weekely report doesn't work!
>and how can I setup my daily report to go only in the weekdays)
To run a command only on weekdays set "days" to "1-5&quo
I have setup crontab the following way: (My weekely report doesn't work!
and how can I setup my daily report to go only in the weekdays)
[EMAIL PROTECTED] dislam]$ cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts
Thanks i had mentioned the wrong user.. Its working fine now
REgards,
Vijaya
On Thursday 24 July 2003 07:39 pm, Win Toe wrote:
> pls put SHELL=/bin/bash or /bin/sh in crontab entries.
>
> crond should be running
>
> $ps ax | grep crond
>
> look carefully crond is r
pls put SHELL=/bin/bash or /bin/sh in crontab entries.
crond should be running
$ps ax | grep crond
look carefully crond is running or not. If not running, use ntsysv(ass root user) and enable at default run level. or
/etc/rc.d/init.d/crond restart to start manyally
If possible, pls show ur
Hi all,
I installed MRTG trhought tar balls and its working fine now..
But problem is when i am running
/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg in the crontab ..
Its not updating the html file created for that ip ..
I have to run manually to update the graph
Any help is appreciated
ay, July 17, 2003 6:43 PM
Subject: Re: Crontab - won't work from crontab but from command line (???)
> Every time I have had a probelm like this it ended up being a path
> problem. Use fully qualified paths to all progs or set a PATH variable
> in your script.
>
> B
On Thu, 2003-07-17 at 18:57, Ian Mortimer wrote:
> > You're missing something crucial, the _user_ to run
> > the cron command as. Should be something like:
> >
> > * * * * * root /home/alumil/alumil_daily.sh
>
> Not in a crontab. Possibly you're th
> You're missing something crucial, the _user_ to run
> the cron command as. Should be something like:
>
> * * * * * root /home/alumil/alumil_daily.sh
Not in a crontab. Possibly you're thinking of an entry in /etc/cron.d
In a crontab the user who owns the crontab determ
t this to run every minute?
>
> > When I run alumil_daily.sh from command line it
> creates the output file
> > properly.
> > Running it from crontab the generated output file
> is empty, as if the
> > database dump program
> > would not provide any output.
>
> * * * * * /home/alumil/alumil_daily.sh
Do you really want this to run every minute?
> When I run alumil_daily.sh from command line it creates the output file
> properly.
> Running it from crontab the generated output file is empty, as if the
> database dump program
> wou
On Thu, 17 Jul 2003, [iso-8859-1] Együd Csaba wrote:
> Hi All,
> I have a problem with a crontab job.
>
> My shell script which I want to run every day is the following:
>
> --
>
On Thu, 2003-07-17 at 08:09, Együd Csaba wrote:
> Hi All,
> I have a problem with a crontab job.
>
> My shell script which I want to run every day is the following:
>
> --
> $ cat alu
Also check the root mail file for error messages.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Együd Csaba
Sent: Thursday, July 17, 2003 8:10 AM
To: redhat-list
Subject: Crontab - won't work from crontab but from command line (???)
Hi All,
I h
check the shell type sh or bash...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Együd Csaba
Sent: Thursday, July 17, 2003 8:10 AM
To: redhat-list
Subject: Crontab - won't work from crontab but from command line (???)
Hi All,
I have a problem w
Hi All,
I have a problem with a crontab job.
My shell script which I want to run every day is the following:
--
$ cat alumil_daily.sh
#!/bin/bash
echo "Daily VACUUM ..." | gzip >> /home/
OK in a new Red Hat 8.0 we test crond , crontab, etc and all is ok, bat in
another one Red Hat 8.0 whith the same installation, hardware etc dont work.
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
nombre de Javier Gostling
Enviado el: jueves, 03 de julio de 2003 15
On Thu, Jul 03, 2003 at 11:40:49AM +0200, Vicente Calero wrote:
> At all versions before /red Hat 4.2 5.1 6.2 etc, when crontab run any
> command send a mail to de user, if user of crontab is root send to
> /var/spool/mail/root, so we can edit and show all about command executed.
>
> -Original Message-
> From: Vicente Calero
> Sent: Thursday, July 03, 2003 4:41 AM
> Subject: Red Hat 8.0 dont work mail at crontab
>
>
> At all versions before /red Hat 4.2 5.1 6.2 etc, when crontab run any
> command send a mail to de user, if user of cronta
At all versions before /red Hat 4.2 5.1 6.2 etc, when crontab run any
command send a mail to de user, if user of crontab is root send to
/var/spool/mail/root, so we can edit and show all about command executed.
Now we are install Red Hat 8.0 and crontab only send mail if there are any
error at run
t; | > /bin/tar czvf /root/dbman_back-`date '+\%m\%d\%Y\%H\%M'`-tar.gz
> | > /var/www/cgi-bin/dbman
> | >
> | > "man 5 crontab" says
> | > [...] Percent-signs (%) in the command, unless
> | > escaped with backslash (\), will be changed
;Cameron Simpson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 6:40 PM
Subject: Re: Crontab issue
> On 03:18 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
> | > Percents are special in Vixie cron crontabs. You need to slosh it:
> | &g
On 03:18 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
| > Percents are special in Vixie cron crontabs. You need to slosh it:
| >
| > /bin/tar czvf /root/dbman_back-`date '+\%m\%d\%Y\%H\%M'`-tar.gz
| > /var/www/cgi-bin/dbman
| >
| > "man 5 crontab"
> -Original Message-
> From: M.Lewis
> Sent: Saturday, March 08, 2003 3:56 AM
> Subject: Crontab issue
>
>
>
> If I run the following from the comman line, it works properly:
>
> /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \
&
ww/cgi-bin/dbman
>
> "man 5 crontab" says
>
> The ``sixth'' field (the rest of the line) specifies the
> command to be run. The entire command portion of the
> line, up to a newline or % character, will be executed by
> /b
e '+%m%d%Y%H%M'`-tar.gz \
> | /var/www/cgi-bin/dbman
> |
> | However, it I put this in my crontab, I get the following:
> |
> | Subject: Cron <[EMAIL PROTECTED]> /bin/tar czvf /root/dbman_back-`date '+
>
> Your clue is that the command stops after the "+
On 01:55 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
| If I run the following from the comman line, it works properly:
|
| /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \
| /var/www/cgi-bin/dbman
|
| However, it I put this in my crontab, I g
If I run the following from the comman line, it works properly:
/bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \
/var/www/cgi-bin/dbman
However, it I put this in my crontab, I get the following:
Subject: Cron <[EMAIL PROTECTED]> /bin/tar czvf
low.
Cheers
Ric
Jianping Zhu wrote:
Thanks, i checked as you indicated. but it is still not working.
On Thu, 16 Jan 2003, Bart Schelstraete wrote:
Jianping Zhu wrote:
I have redhat 7.3 server the /etc/crontab is as following
.-
S
Thanks, i checked as you indicated. but it is still not working.
On Thu, 16 Jan 2003, Bart Schelstraete wrote:
> Jianping Zhu wrote:
>
> >I have redhat 7.3 server the /etc/crontab is as following
> >.-
> >SHELL
ends to other things, too. There should
only be five date/time fields, not six. "man crontab" can be your friend.
--
"Of course I'm in shape! Round's a shape, isn't it?"
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
On Thu, 16 Jan 2003, Jianping Zhu wrote:
> 10 12 * * * * root echo "jzhu>/home/jzhu/jzhu.dat#line12
Where's your ending double-quote?
--
"Of course I'm in shape! Round's a shape, isn't it?"
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https:/
es to
cron using crontab -e were being "ignored." Turns out, of course, they
weren't. anacron was running the same things as cron was. Using webmin
showed me both running. I closed anacron and problems went away!
Mark
On Fri, 17 Jan 2003, Michael Fratoni wrote:
> -BEGIN PG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 17 January 2003 05:21 am, Mark Neidorff wrote:
> Check the man page. the -u will do another user's crontab.
> If you edit one of the crontab files directly, it won't update cron.
> On Wed, 15 Jan 2003, Jianping Zhu w
Check the man page. the -u will do another user's crontab. If
you edit one of the crontab files directly, it won't update cron.
Mark
On Wed, 15 Jan 2003, Jianping Zhu wrote:
> Thank you for response
> i found we i use crontab -e, the file /var/spool/corn/root not
> /etc
Jianping Zhu wrote:
I have redhat 7.3 server the /etc/crontab is as following
.-
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.houily
2 4 * * * root run-parts /etc
[EMAIL PROTECTED]>
To: "Jianping Zhu" <[EMAIL PROTECTED]>; "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 11:42
Subject: RE: why is wrong with this /etc/crontab
> I am experiencing a similar issue. I have a cr
I am experiencing a similar issue. I have a crontab job setup to run a
simple script that when it is complete is supposed to append two items,
on one line, to a logfile.
The script is simple, it is supposed to echo a line of text (using the
-n option) and also use "
One too many *'s in each of th last two lines.
On Thu, 16 Jan 2003, Jianping Zhu wrote:
> I have redhat 7.3 server the /etc/crontab is as following
> .-
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 16 Jan 2003 12:07:38 -0500 (EST), Jianping Zhu wrote:
> I have redhat 7.3 server the /etc/crontab is as following
> .-
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/
Jianping Zhu wrote:
I have redhat 7.3 server the /etc/crontab is as following
.-
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.houily
2 4 * * * root run-parts /etc
On Wed, 2003-01-15 at 21:51, Jianping Zhu wrote:
> Thank you for response
> i found we i use crontab -e, the file /var/spool/corn/root not
> /etc/crontab is changed. how can i change /etc/crontab?
>
Just use you favorite editor. The syntax is a little different. You
must add the
Thank you for response
i found we i use crontab -e, the file /var/spool/corn/root not
/etc/crontab is changed. how can i change /etc/crontab?
Thanks
On Wed, 15 Jan 2003, Mark Neidorff wrote:
> On Wed, 15 Jan 2003, Jianping Zhu wrote:
>
> >
> > when did systme call /ect/
On Wed, 15 Jan 2003, Jianping Zhu wrote:
>
> when did systme call /ect/crontab? if i make change to /etc/crontab how
> to let the change take effect?
> Thanks
Well, if you edit crontab with:
#crontab -e
then changes go into effect in a very short time. Cron reads its config
fil
January 15, 2003 11:33
Subject: crontab
>
> when did systme call /ect/crontab? if i make change to /etc/crontab how
> to let the change take effect?
> Thanks
>
>
> Jianping Zhu
> Department of Computer Science
> Univerit
when did systme call /ect/crontab? if i make change to /etc/crontab how
to let the change take effect?
Thanks
Jianping Zhu
Department of Computer Science
Univerity of Georgia
Athens, GA 30602
Tel 706 5423900
--
redhat-list
On Tue, 2002-12-10 at 21:18, Jianping Zhu wrote:
> ect/crontab
>
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root ru
> -Original Message-
> From: Jianping Zhu
> Sent: Tuesday, December 10, 2002 8:18 PM
> Subject: crontab
>
>
> ect/crontab
>
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
&g
ect/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-oarts /etc/cron.daily
22 4 * * 0Hroot run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc
On Tue, 22 Oct 2002, Rudolf Amirjanyan wrote:
> Hello all. Can anybody tell me if it is recomended that root runs a
> script through crontab. If no, then please say the reason. Thanks !!!
that depends. do you mean you want to run a script just on behalf of
the personal root user account,
Hello all.
Can anybody tell me if it is recomended
that root runs a script
through crontab. If no, then please say the reason.
Thanks !!!
Did this make it to the list?
Collin
> -Original Message-
> Subject: vi, crontab and a soft-linked tmp dir = broken
>
>
> Hey People,
>
> I have a small problem. On most of our systems (Rh 6.2 -> RH
> 7.2) we use a softlink for the /tmp dir. When we
Hey People,
I have a small problem. On most of our systems (Rh 6.2 -> RH 7.2) we use a
softlink for the /tmp dir. When we run crontab -e and make changes to the
crontab, save and exit we get "crontab: no changes made to crontab"
Things that fix this:
1. Make /tmp a real dir
hi,
im using this command to parse squid's log files.
cat /usr/local/squidlog/access.log.0 | calamaris -a -w
>/var/www/html/calamaris/`date +%m%d%y`.html
this works when typed. however when the line is
inserted in crontab ( crontab -e ) it doesnt work..
here's the
On Fri, Aug 02, 2002 at 12:57:14PM -0600, Ashley M. Kirchner wrote:
>
> How does one schedule a crontab to run the last day of the month?
> Considering that each month is different, one can't use '30' or '31' (or
> 28/29), so...what to use?
Untested...I
* Ashley M. Kirchner <[EMAIL PROTECTED]> [2002-08-02 20:57 +0200]:
> How does one schedule a crontab to run the last day of the month?
have cron call »remind«, which can do *any* calendar calculation for you
(e.g. "is it sunday after the first full moon in spring") and cal
On Fri, 2002-08-02 at 14:57, Ashley M. Kirchner wrote:
> How does one schedule a crontab to run the last day of the month?
> Considering that each month is different, one can't use '30' or '31' (or
> 28/29), so...what to use?
I don't know, but I use thi
How does one schedule a crontab to run the last day of the month?
Considering that each month is different, one can't use '30' or '31' (or
28/29), so...what to use?
--
W | I haven't lost my mind; it
On Mon, 27 May 2002, madhvi wrote:
>
> I have tried automating the backup of my files by scheduling the execution of
>scripts ( I am using rcp to copy the files onto another fileserver).
>
> The problem encountered is :-
>
> I log in as root and issued the crontab -
I have tried automating the backup of my files by
scheduling the execution of scripts ( I am using rcp to copy the files onto
another fileserver).
The problem encountered is :-
I log in as root and issued the crontab -e
command. Added the following lines
10 16 * * 3 5 /scripts
A better one would be:
$ cd /var/spool/cron
$ for i in *; do echo $i; cat $i; echo '='; done
This would give you a complete list of crontab contents, tag who owns
each entry and show where each crontab file ends.
Cheers,
--
Javier Gostling
Ingeniero de Sistemas
Virtualia S
Thanks everyone, that makes things a lot easier for me. :-)
At 08:33 AM 3/28/2002 -0500, you wrote:
>Does anyone know of a way that I can view the crontab entries for all
>users on the system, instead of doing crontab -u user -l for each user?
>
>T
On jeudi, mars 28, 2002, at 02:33 , Jake McHenry wrote:
> Does anyone know of a way that I can view the crontab entries
> for all users on the system, instead of doing
> crontab -u user -l for each user?
Hi !
Try this as root :
#!/bin/sh
cat /etc/passwd | cut -d':' -f1 |
On Thu, 28 Mar 2002, Jake McHenry wrote:
> Does anyone know of a way that I can view the crontab entries for all users
> on the system, instead of doing crontab -u user -l for each user?
su
cd /var/spool/cron
cat *
Ed
___
Redhat-list m
an view the crontab entries for all users
> on the system, instead of doing crontab -u user -l for each user?
>
> Thanks,
> Jake
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman
Does anyone know of a way that I can view the crontab entries for all users
on the system, instead of doing crontab -u user -l for each user?
Thanks,
Jake
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo
My thanks to [EMAIL PROTECTED] and Arthur H. Johnson II
<[EMAIL PROTECTED]> for helping to alleviate my stupidity. ;-) It seems
that crond was tripping over the % rather than the +:
>actually its the % that crond is interpreting as newline. use
>/usr/local/sbin/backup.bash "`date +\%Y-\%m-\%d
e command in a crontab entry, and I keep
> getting an error. I've tried just about every possible syntax I can think
> of, so I'm either being stupid or what I want can't be done. I've tried
> the following entries (minus the time/date/day fields):
>
> /usr/lo
actually its the % that crond is interpreting as newline. use
/usr/local/sbin/backup.bash "`date +\%Y-\%m-\%d`" Fri
steve
-Original Message-
From: Eric Sisler [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2002 15:51
To: [EMAIL PROTECTED]
Subject: Using the date command in a cro
Greetings,
I'm trying to insert the date command in a crontab entry, and I keep
getting an error. I've tried just about every possible syntax I can think
of, so I'm either being stupid or what I want can't be done. I've tried
the following entries (minus the tim
On Fri, Apr 27, 2001 at 11:43:32PM -0500, Glen Lee Edwards wrote:
> How do I change the default crontab text editor from vim to xemacs?
> Unfortunately I don't speak vim, and I have neither the time nor
> the desire to learn it.
export EDITOR="vim -g"
It's not so
How do I change the default crontab text editor from vim to xemacs?
Unfortunately I don't speak vim, and I have neither the time nor the
desire to learn it.
Glen
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/ma
On Wednesday 14 February 2001 12:05, Kiran Kumar M opined:
> Hi,
>
> The processing done by 'crontab' will sent to 'root' by mail. How can I
> stop it.
MAILTO=""
--
To boldly go where I surely don't belong.
On Wed, 14 Feb 2001 13:05:59 Kiran Kumar M wrote:
>The processing done by 'crontab' will sent to 'root' by mail. How can I
>stop it.
Add this to the top of your crontab:
MAILTO=""
--
Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agre
On Wed, 14 Feb 2001 at 11:35pm (+0530), Kiran Kumar M wrote:
>
> Hi,
>
> The processing done by 'crontab' will sent to 'root' by mail. How can I
> stop it.
>
At the head of your crontab file put something like..
[EMAIL PROTECTED]
... see crontab(5) for
At the end of the cron task, ">> /dev/null 2>&1" minus the quote marks.
On Wed, 14 Feb 2001, Kiran Kumar M wrote:
>
> Hi,
>
> The processing done by 'crontab' will sent to 'root' by mail. How can I
> stop it.
>
> Thanks,
> Kiran
Hi,
The processing done by 'crontab' will sent to 'root' by mail. How can I
stop it.
Thanks,
Kiran
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
Or, you could re-install the file 'crontab -u root /directoryname/filename'
Rob
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Thierry ITTY
> Sent: January 26, 2001 1:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: cron
A 10:57 26/01/2001 -0600, vous avez écrit :
>During an upgrade from RedHat 5.2 to 7.0 I noticed something wrong with
>cron. It doesn't work anymore.
>When I do a crontab -l it tells me
>no crontab for root.
>The cron is still where I left it in /var/spool/cron/root
>Has a
I believe this means that there are no cron entries for root, you have to
create them.
On Fri, 26 Jan 2001, Tony Campisi wrote:
> During an upgrade from RedHat 5.2 to 7.0 I noticed something wrong with
> cron. It doesn't work anymore.
> When I do a crontab -l it tells me
> no
During an upgrade from RedHat 5.2 to 7.0 I noticed something wrong with
cron. It doesn't work anymore.
When I do a crontab -l it tells me
no crontab for root.
The cron is still where I left it in /var/spool/cron/root
Has anyone come accross this problem and can help me fix it?
TI
1 - 100 of 150 matches
Mail list logo