If it exists, what is the maximum number of cron jobs (entries?) that can be added to a server's crontab? How do I tell? I'm on RHEL 6.

I googled around, but did not see a conclusive answer -- some were 256, some 65K, some said limitless.


1 Answer 1


To answer your question you should have a look at the cron implementation for your distribution. RHEL seems to use cronie - you can find the source code for cronie online.

cronies limit seems to depend on the filesystem (maximum file size) as the cron daemon stores the crontab entries per user in a linked list - see user.c from cronie for details. This means the maximum number of job entries for crontab is basically unlimited.

  • Thank you. So, does "linked list" imply "unlimited" ... ? until all the memory is taken up ... ?
    – KM.
    Jul 19, 2012 at 12:07
  • 1
    @KM01 not necessarily as you still can implement/enforce limits but typically yes linked list often means unlimited size. The linked source code shows no restrictions re. the number of entries. And it would take a lot of entries to fill the memory with crontab entries. Jul 19, 2012 at 12:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .