Advanced Menu - Cron Jobs truncates data.

Aerosmith

Well-Known Member
Feb 17, 2002
76
0
306
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^
 

awsol

Well-Known Member
Feb 8, 2002
578
0
316
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 }
 

Aerosmith

Well-Known Member
Feb 17, 2002
76
0
306
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.