Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How do I make cron daemon check cron entries from more than one files. In my project I need to frequently update cron file, so instead of manipulating the existing file I was planning to write my project cron entries in a dedicated cron file.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Users have 3 options:

  1. Access their own crontab entry using the command crontab -e.

  2. If they have sudo privileges on the system they can add crontab files to the /etc/cron.d directory.

  3. Add scripts to one of these directories:

    • /etc/cron.daily
    • /etc/cron.hourly
    • /etc/cron.monthly
    • /etc/cron.weekly
share|improve this answer

You can put a file for you application only in /etc/cron.d.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.