Results 1 to 3 of 3

Thread: Cron

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    Shanghai, China
    Posts
    9

    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

  2. #2
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92
    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

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    I'm not sure to which version it belongs, but sometimes you're told to edit the crontab with
    Code:
    crontab -e
    (-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

  1. Problems with ntpdate by cron
    By michael.doepper in forum General Support
    Replies: 2
    Last Post: 08-02-2005, 03:13 PM
  2. "Cron" jobs? Questions/issues/errors...
    By Cuddles in forum General Support
    Replies: 1
    Last Post: 04-21-2004, 08:28 PM
  3. Does cron and shaper need to be started?
    By Markus in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-17-2004, 10:27 PM
  4. cron
    By punk000 in forum General Support
    Replies: 1
    Last Post: 02-24-2003, 07:21 PM
  5. unknown cron job
    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
  •  


SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5

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

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

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

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

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

Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive

$99.99



1TB HDD/SSD 2.5

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

Seagate HDD Barracuda 2TB Internal Hard Drive 7200RPM 64MB 3.5" ST2000DM001

$19.89



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

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

Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404

$99.00