Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8484327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:21:06+00:00 2026-06-10T20:21:06+00:00

Alright, I’m thinking of creating a webscript that depends on cronjob.. I’m wondering, would

  • 0

Alright,
I’m thinking of creating a webscript that depends on cronjob..
I’m wondering, would it ever make any server damages for the amount of crontabs ?

lets say i have 50 crontabs to be done everyday, would it ever hurt the server ?
if no, what’s the max amount of crontabs to be added in a linux server @ 512MB memory

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:21:07+00:00Added an answer on June 10, 2026 at 8:21 pm

    When you create a new job the cron daemon call the function job_add (job.c), this function alloc the memory to the job and add it to the tail of the job list.
    The job is allocated on the heap, so theorically you’re limited just by the RAM installed on your machine.

    Some notes from the CRON code:

    The job structure:

    typedef struct _job {
        struct _job     *next;
        entry           *e;
        user            *u;
    } job;
    

    Each user crontab entry is defined by:

    typedef struct _entry {
            struct _entry   *next;
            uid_t           uid;
            gid_t           gid;
            char            **envp;
            char            *cmd;
            bitstr_t        bit_decl(minute, MINUTE_COUNT);
            bitstr_t        bit_decl(hour,   HOUR_COUNT);
            bitstr_t        bit_decl(dom,    DOM_COUNT);
            bitstr_t        bit_decl(month,  MONTH_COUNT);
            bitstr_t        bit_decl(dow,    DOW_COUNT);
            int             flags;
    #define DOM_STAR        0x01
    #define DOW_STAR        0x02
    #define WHEN_REBOOT     0x04
    } entry;
    

    And the user struct:

    typedef struct _user {
            struct _user    *next, *prev;   /* links */
            char            *name;
            time_t          mtime;          /* last modtime of crontab */
            entry           *crontab;       /* this person's crontab */
    } user;
    

    You can see that this structs does not cosume a lot of memory.
    If you’re curious about how the implementation of cron work, you can see the code here : cron ubuntu source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Alright so i need to open a .txt file that will be created in
Alright, I'll try and make this brief as possible. I wanted to a UIToolbar
Alright, so, I'm doing a little script that downloads X number of wallpapers of
Alright here is the thing, I have this site that was once wordpress but
Alright. I have several queries <?php // Make a MySQL Connection mysql_connect(mm.hostname.net, user, pass)
Alright, so I've been trying to implement a simple binary search tree that uses
Alright, So I have an issue that is a bit weird. I am using
Alright so I just want to confirm something. I am creating a wrapper class
Alright so this is a bizarre cross platform thing that I'm experiencing with text
Alright y'all. I am attempting to write a bit of code that places typographic

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.