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.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityIf 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.
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.