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.
Tips?
Thanks
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
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
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't you just reset the time to something
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, copying the morning line(s
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_`/bin/date
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 PROTECTED]::home /home/
7 */2
-
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:/bin:/usr/sbin
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, Justin
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
/etc/cron.specialTest: /etc
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/ With this I
got
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: [EMAIL PROTECTED
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 ... how I can fix it?
9
-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 similar question recently
-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
Run crontab -e and drop the root
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 Daemon)
To: [EMAIL
-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
Message 9:
From [EMAIL PROTECTED] Mon Sep
: 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 /etc
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=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts
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 /etc
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 /etc
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:
01 01 * * 1-5 root command
Your
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
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
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 running or not. If not running
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.
Bret
--
redhat-list mailing list
unsubscribe mailto
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/alumil/vdblog.gz
echo
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
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 have
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 alumil_daily.sh
#!/bin/bash
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:
--
$ cat alumil_daily.sh
My
* * * * * /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
would not provide any output
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.
What is the path to the database dump program? If
it's not in a standard
location
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 determines who the cron
job runs
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 thinking of an entry in /etc/cron.d
In a crontab the user
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
-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 crontab is root send to
/var/spool/mail
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.
Now we are install
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
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 /root/dbman_back
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 get the following
\
| /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 +.
| X-Cron-Env: SHELL=/bin/bash
| X-Cron-Env: HOME=/root
| X-Cron-Env: PATH=/usr
That didn't work Cameron. It gives me a file with the name of:
dbman_back-\03\08\2003\03\14-tar.gz
[snip]
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 \
/var/www/cgi-bin/dbman
However
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 says
| [...] Percent-signs (%) in the command
]
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:
|
| /bin/tar czvf /root/dbman_back-`date '+\%m\%d\%Y\%H\%M'`-tar.gz
| /var
-`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 into newline
|characters, and all data after the first % will be sent to
|the command
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=/bin/bash
PATH=/sbin:/bin:/usr
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
.-
SHELL=/bin/bash
PATH=/sbin:/bin:/usr
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 PGP SIGNED MESSAGE-
Hash: SHA1
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
. 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
Check the man page. the -u username 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/crontab
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 17 January 2003 05:21 am, Mark Neidorff wrote:
Check the man page. the -u username 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 wrote:
Thank you
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
-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/bin
MAILTO=root
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=root
HOME=/
# run-parts
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 date
]
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 crontab job setup to run a
simple script that when it is complete is supposed
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
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
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
Univerity of Georgia
Athens, GA 30602
Tel 706 5423900
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
file at the top
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/crontab? if i make change
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 user name to run
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 run-oarts /etc/cron.daily
22 4 * * 0Hroot
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
-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=/
# run-parts
01 * * * * root run-parts /etc
Hello all.
Can anybody tell me ifit is recomended
thatroot runsascript
through crontab. If no, then please say the reason.
Thanks !!!
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
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 run crontab -e
and make changes
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 directory, not a softlink
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 error message
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's backed up on tape somewhere
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 this in a script to do different things
* 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 call
external programs
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 did a google search for crontab last day
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/backup
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 -e command. Added the following
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
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/redhat-list
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 mailing list
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 | while read username; do
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?
Thanks,
Jake
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 time/date/day fields):
/usr
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 crontab entry
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/local/sbin/backup.bash `date +%Y-%m-%d` Fri
-or-
/usr/local
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`
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/mailman
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 or whatever
It's not so baaa-aaad!
You can put
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
At the end of the cron task, " /dev/null 21" 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
___
Redhat-list ma
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 more details.
M.
--
WebCentral Pty Ltd
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/~agreene/
PGP Key: 0x6C94239D/7B3D BD7D 7D91
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.
___
Redhat-list mailing l
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?
TIA-
tC
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 crontab for root
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 anyone come accross this problem
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: crontab -l
A 10:57 26/01/2001 -0600
Hi,
How can I change my default corntab editor from VI to Pico??
Thanks
Eileen Orbell
Software Internet Applications
Capitol College
mailto:[EMAIL PROTECTED]
Don't Fear the Penguin.
___
Redhat-list mailing list
[EMAIL PROTECTED]
1 - 100 of 145 matches
Mail list logo