Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    2

    Default Cron Jobs

    I have two Cron Jobs running on two of my blogs. I received a message from my hosting company that they were using too much space or maybe it was bandwidth. They also threatened to up my space or delete the blogs. Is there a way to decrease the number of times the jobs run. Or is there some way to delete the updates that have already been obtained?

    One of the sites is a games site and the other is a movie trailer site that updates using a cron script.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Hello tech6,

    You cannot change how they've already ran in the past to reduce the CPU or memory usage they have taken, and it's unlikely a cron is taking up space unless it's writing files or logging, so it's likely CPU or memory that is the issue. Bandwidth can't be an issue either if they are running locally as that isn't going to utilize bandwidth.

    For decreasing how frequently they run, you can check how often they run in cPanel > Cron Jobs > Advanced area. If you post here the time intervals for how often they run, we could tell you how to change the frequency.

    I can note that if it is something like the following:

    Code:
    */5 * * * *
    This would mean every 5 minutes where it's like this:

    */5 = every 5 minutes (minute of the hour interval)
    * = every hour (hour interval)
    * = every day of the month (day of the month interval)
    * = every month (month interval)
    * = every day (day of the week interval)

    If you wanted to change it to every 30 minutes, you could do:

    Code:
    */30 * * * *
    Or, you could have it run once an hour:

    Code:
    0 * * * *
    The 0 here would mean run the cron at the 0 minute of the hour every hour.

    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Apr 2010
    Posts
    11

    Default

    I can't imagine a cronjob using up server space. Do you mean resources? And did your host specifically say it was the cron jobs causing the issue?

Similar Threads & Tags
Similar threads

  1. Where are cron jobs?
    By Daerious in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-08-2009, 01:47 AM
  2. Cron jobs
    By DigiCrime in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-04-2005, 02:47 AM
  3. Cron Jobs
    By mbs5 in forum New User Questions
    Replies: 1
    Last Post: 06-28-2005, 12:35 PM
  4. Cron Jobs
    By TitaniumHosting in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-01-2005, 08:47 PM
  5. cPanel cron jobs or cron.daily , cron.hourly , etc.?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-01-2004, 07:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube