Find the answer to your Linux question:
Results 1 to 5 of 5
I modified my crontab file to this: 5 20 * * * /TEMP/develop/test1.job However system didn't start that test1.job task at 20.05. Is there something wrong with my crontabfile? The ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2

    Scheduling tasks

    I modified my crontab file to this:

    5 20 * * * /TEMP/develop/test1.job

    However system didn't start that test1.job task at 20.05. Is there something wrong with my crontabfile? The test1.job worked well when I tried it in /TEMP/develop/ directory and wrote ./test1.job

    And the cron -process was also running (which is default?!?). I checked that with ps -A.

    Some help needed with scheduling tasks.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    After you edit the file try restarting crond so it re-reads the file.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2
    How I re-start crond or cron? System doesn't let me kill the process.

  4. #4
    Just Joined!
    Join Date
    Oct 2007
    Posts
    37
    Try HUPing it:

    Find the PID and run:

    kill -HUP PID
    or
    kill -1 PID

    PID can usually be found in /var/run/ or using ps aux | grep cron

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    As root;

    service crond restart

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...