The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Advanced Menu - Cron Jobs truncates data.

Discussion in 'General Discussion' started by Aerosmith, May 4, 2002.

  1. Aerosmith

    Aerosmith Well-Known Member

    Joined:
    Feb 17, 2002
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Earth
    In the Cron Jobs page of CPanel I have an issue that I can't seem to resolve. I entered a rather long string for a Cron Job. (It is used to perform daily updates of some MySQL tables.) The job is performing as desired so from that stand point all is well.
    When I go to the Cron Jobs page to edit the script the only text that shows up in the Command input box is &echo&. The rest of the command is not listed. I can't recall the full context of what I had entered. (I know thats a DFU thing by not saving a copy somewhere.)
    Anyway, why is Cpanel truncating the command part of the Cron Job? BTW when I shell in and run crontab -l all I see is &echo& as the command as well.

    Thanks,
    ^A^
     
  2. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    hmm it sound like you tried pasting in 2 lines of text. for example if you copied and pasted the test below

    echo {
    BLAH }

    it would only input 1 line into the text box. but if you use the below line it would paste fine

    echo { BLAH }
     
  3. Aerosmith

    Aerosmith Well-Known Member

    Joined:
    Feb 17, 2002
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Earth
    A couple of things that make me think this is not the issue. 1st I do recall entering the command and I am about as sure as I can be that I typed it all in as a single line. 2nd the commands are all working fine. 3rd the cron table does not show anything but the first word (echo) for each command.

    It seems obvious that somewhere the whole command exists somewhere. I guess I need to get the server owner to pull the data and see whats going on.
     
Loading...

Share This Page