Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: reg crontab

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    reg crontab

    Hi everybody,

    I am giving the cronjob from a file.

    for ex:
    ]#cat cron
    0 * * * * date;ls >> out

    ]#crontab cron
    It is overwriting already existing cronjobs.
    How can I configure cron jobs from a file for appending the existing cronjobs instead of overwriting.

    Thanks Inadvance,

  2. #2
    Linux Enthusiast
    Join Date
    Apr 2004
    You could append the output of crontab -l to the "cron" file. Then install the new cron using the second command in your post.

    let us konw how you get on

    To be good, you must first be bad. "Newbie" is a rank, not a slight.

Posting Permissions

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