Home Forums Unix & Linux How to load crontab from a file


  • Author
  • admin
    Post count: 111

    I have some more than 400+ scripts to run in scheduled time. So I have added all the job entries in a file.
    Anyone please guide me to load this cronfile to the crontab…

  • Anonymous
    Post count: 22
    crontab filename

    This is the simplest way to add the cron file entry to the crontab. For example, if you added all the cron entries in a file named cron_file.txt, just save the file and execute the below comamnd. Make sure you are in the directory where the cron_file.txt file is present.

    crontab cron_file.txt

    To directly edit the crontab, refer https://www.spytm.com/questions/topic/how-to-add-job-to-the-crontab/

Reply To: How to load crontab from a file
Your information: