How to load crontab from a file

Home Questions How to load crontab from a file


This topic contains 1 reply, has 2 voices, and was last updated by  Thushara Muralidharan 2 years, 2 months ago.

  • Author
  • #6666 Reply

    Topics: 65
    Replies: 65

    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…

  • #6750 Reply

    Thushara Muralidharan
    Topics: 12
    Replies: 10
    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

Reply To: How to load crontab from a file

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Your information: