Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
cron changes after the update, again

cron changes after the update, again

2006-04-07       - By Greg Hosler

 Back
Reply:     1     2  


On 07-Apr-2006 (See http://Apr-2006.ora-code.com) Giovanni Apogallo wrote:
> I have in crontab a job that is scheduled every half an hour, in this way:
> 10/30 6-19 * * 1-5  sync.sh

The above is not legal syntax. Never was. If it used to work, you were lucky.

The syntax is:

       <start of range>-<end-of-range>/<step value>

Either of the following would achieve your goal of 10 & 40:

       10,40    6-19 * * 1-5  sync.sh
       10-59/30 6-19 * * 1-5  sync.sh

best rgds,

-Greg

> that was there since the installation of this server, a couple of years ago.
> That means it run at 10 and at 40 of every hour between 6 and 19, monday to
> friday.
>
> Now after the last cron update it's not working anymore, gives this error:
> crontab: installing new crontab
> "/tmp/crontab.XXXXMceiAS":13: bad minute
> (line 13 is the crontab line above)
>
> it's not the use of '/', since in the same crontab i have another job that
> is scheduled in this way:
> 1-59/3 6-19 * * *  check.sh
> and this one is working without errors.
> More on this, if i put "*/30" it's working good.
> But i need this job to start 10min past hour change, so i need the "10/30".
>
> funny thing is, the job was working at time scheduled even after the update,
> only it won't let me change the crontab.
>
> Any advice is welcome.
> Gio

+-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------+

Please also check the log file at "/dev/null" for additional information.
               (from /var/log/Xorg.setup.log)

| Greg Hosler                                   greg@(protected)    |
+-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------+

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list