-
Cron
I have been trying for days to get one script to run under cron every hour.
If I add it into the system cron file, the root users's cronfile, the knoppix user cronfile, or add a script to the cron.hourly folder, they don't run. I started the cron deamon, but still no luck.
I am sure that the syntax I used for the cronfile is correct because this works on my hd installation.
I have run out of possiblilities, any suggestions are welcome
- Robbert
-
Is your call in /etc/crontab ?
You'll also be able to test this on your remaster before you compress. Just mount proc and start up cron, and it should work.
I suggest putting an '"echo `date`" >> /tmp/crontest' to test. Set that to run every minute
* * * * * root '"echo `date`" >> /tmp/crontest'
I believe.
Good luck,
-a
-
Senior Member
registered user
I'm not sure to which version it belongs, but sometimes you're told to edit the crontab with
(-e like edit).
Perhaps you have to set your prefered editor first.
For commandline:
Code:
export EDITOR=mcedit
export VISUAL=mcedit
don't know which is used.
Similar Threads
-
By michael.doepper in forum General Support
Replies: 2
Last Post: 08-02-2005, 03:13 PM
-
By Cuddles in forum General Support
Replies: 1
Last Post: 04-21-2004, 08:28 PM
-
By Markus in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-17-2004, 10:27 PM
-
By punk000 in forum General Support
Replies: 1
Last Post: 02-24-2003, 07:21 PM
-
By tegan in forum General Support
Replies: 2
Last Post: 02-01-2003, 01:51 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5](/store/img/UPoAAOSw9Hlmedgx/s-l225//SAS-HGST-Ultrastar-7K4000-HUS724040ALA640-0F14688-.jpg)
SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB 7.2K RPM 64MB HDD
$19.99
![HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5](/store/img/TIMAAOSw969gDuvf/s-l225//HITACHI-HUS724040ALA640-4TB-7200RPM-64MB-SATA-6-0G.jpg)
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
![WD 4TB Gold Enterprise - 7200 RPM SATA 6Gb/s 128MB CACHE 3.5](/store/img/ZuIAAOSwYl9lpvWh/s-l225//WD-4TB-Gold-Enterprise-7200-RPM-SATA-6Gb-s-128MB-C.jpg)
WD 4TB Gold Enterprise - 7200 RPM SATA 6Gb/s 128MB CACHE 3.5" HDD - WD4002FYYZ
$42.95
![Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5](/store/img/xy8AAOSwuMhl8Y7x/s-l225//Seagate-ST8000NM0055-8TB-7200RPM-256MB-SATA-6-0-Gb.jpg)
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.24
![HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5](/store/img/buwAAOSwDghlwalj/s-l225//HGST-Ultrastar-DC-HC520-12TB-SATA-6Gb-256MB-3-5-En.jpg)
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
![Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5](/store/img/de0AAOSwcJJlDe~2/s-l225//Seagate-ST12000NM0127-12TB-SATA-6Gb-s-256MB-7200RP.jpg)
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
![1TB HDD/SSD 2.5](/store/img/IlgAAOSwtgpmKHfn/s-l225//1TB-HDD-SSD-2-5-SATA-Hard-Drive-with-Windows-10-or.jpg)
1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed
$18.99
![Seagate HDD Barracuda 2TB Internal Hard Drive 7200RPM 64MB 3.5](/store/img/qG0AAOSwOAFmnqiT/s-l225//Seagate-HDD-Barracuda-2TB-Internal-Hard-Drive-7200.jpg)
Seagate HDD Barracuda 2TB Internal Hard Drive 7200RPM 64MB 3.5" ST2000DM001
$19.89
![Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5](/store/img/tFMAAOSwjDVmceFV/s-l225//Seagate-ST1000VM002-1TB-64MB-SATA6Gb-s-3-5-Low-Pow.jpg)
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
![Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404 picture](/store/img/d8UAAOSwPR1mEBue/s-l225//Western-Digital-DC-HC320-Ultrastar-8TB-7200RPM-SAT.jpg)
Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404
$99.00