Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member trakwebster's Avatar
    Join Date
    Jan 2003
    Posts
    145

    Default cPanel Script Bug in Cron Editor

    It appears that, at least on my system, the cPanel Cron editor has a bug as follows:

    It will work OK if you enter something like:

    5 * * * * /somescript.pl

    but it will fail if you enter something like:

    5,20,35,50 * * * * /somescript.pl

    In other words, if you enter a comma-separated list in the editor, it no worko.

    Peeking at the crontab with 'crontab -l' or 'crontab -e' is also puzzling. After attempting to enter something in the cron table, inside the cron table, instead of a cron entry, I see MAILTO="".

    Looks like a script bug to me.

    I am running WHM 6.0.0 and Cpanel 6.0.0-S97. I tried this using a couple of skins (coolbreeze and advanced) with the same results.

    Anybody else get the same results?
    -- Arthur Cronos from Voltos
    =================================================
    The Bloggard, Un Hombre Muy Blogisto -- http://www.bloggard.com
    Your loch ness monster, your yeti, your bigfoot. Bah! I've seen worse.
    =================================================

  2. #2
    ozzi4648
    Guest

    Default

    Dont know why. I mean i have a cron setup like 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 and it works just fine. Maybe you should try running your cron from the command line to make sure its even running properly before adding it as a cron job. I am also running S97 and my cron runs without fail.


  3. #3
    Member trakwebster's Avatar
    Join Date
    Jan 2003
    Posts
    145

    Default Cron works fine -- but cron EDITOR no worko

    Sorry if I was unclear.

    Cron works fine. I can use the crontab command and all is well. Assuming that I've typed my desired cron info into a textfile.txt, I can do this --

    crontab -r (remove old crontab)
    crontab -l (peek inside and yes it's all gone)
    crontab textfile.txt (add my new stuff)
    crontab -l (peek inside and yes it's there)

    So cron and crontab work fine.

    However, on the cPanel there is a Cron editor, a little page where one can enter the cron info directly. It is this cpanel editor page which does not work. It seems to have a bug. It bombs when a comma-delimited list is entered into the minutes field. And if you try it, then peek into the crontable, you'll see that it has not worked.

    What do you suppose is going on?
    -- Arthur Cronos from Voltos
    =================================================
    The Bloggard, Un Hombre Muy Blogisto -- http://www.bloggard.com
    Your loch ness monster, your yeti, your bigfoot. Bah! I've seen worse.
    =================================================

  4. #4
    Member marius's Avatar
    Join Date
    Jun 2002
    Location
    Bucharest
    Posts
    158

    Default cron

    we have the same problem.
    only that cron editor doesn't work in the advance mode.

    if make a cron using the standard editor is ok.
    but if you want to add one using the advance editor .. deletes all the crons you have.

    help?
    Marius

  5. #5
    Member trakwebster's Avatar
    Join Date
    Jan 2003
    Posts
    145

    Default This bug has been FIXED by cpanel folks

    In current versions of cpanel (6.2 as I post this) this bug has been repaired by the fine folks at cpanel, and is no longer a difficulty. (Actually it was fixed in 6.0 Edge number something.)

    Thanks, cpanel folks!
    -- Arthur Cronos from Voltos
    =================================================
    The Bloggard, Un Hombre Muy Blogisto -- http://www.bloggard.com
    Your loch ness monster, your yeti, your bigfoot. Bah! I've seen worse.
    =================================================

Similar Threads & Tags
Similar threads

  1. cpanel CRON editor not working
    By cyrus in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-24-2006, 10:51 AM
  2. Advanced cron editor broken
    By myusername in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-28-2005, 09:46 AM
  3. WYSIWYG editor bug
    By masterchef in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-24-2005, 09:03 PM
  4. Bug in Filemanager - > Html Editor
    By Tux-e-do in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-27-2004, 10:25 AM
  5. Is cpanel's cron editor broken?
    By trakwebster in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-01-2003, 04:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube