Softaculous


Topic : Cron tab edit problem


Posted By: razvypp on July 12, 2016, 8:53 am
When you have a long Cron job for example "wget -O - xxxxx.ro/scrape/filmeserialeonline.org-seriale-auto.php?page=17 >/dev/null" >2&1

when you edit a cron job and save it trims &1 from it

Posted By: Brijesh on July 14, 2016, 9:46 am | Post: 1
Hi,

Are you facing the issue with adding CRON Job in Webuzo ?

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: razvypp on July 14, 2016, 9:52 am | Post: 2
Not when adding, only when editing an existing one.

Posted By: Brijesh on July 14, 2016, 1:03 pm | Post: 3
Hi,

Yes while editing the Cron job in Webuzo ?

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: razvypp on July 14, 2016, 1:55 pm | Post: 4
Yes :) )))

If i have a very long cron ( command + a very long link ( url address) ), and I edit it to change the hour for example, When i save it it trims some of my last characters.



Posted By: webuzo_manager on July 15, 2016, 6:20 am | Post: 5
Hi,

We are already aware of the issue and will be a releasing a new version next week which will have the fix.

Until then if you have any commands in CRON JOB which contain the character "&" please add a new CRON instead of editing the existing one.

Posted By: fintec-mgmt on July 23, 2016, 3:55 pm | Post: 6
Your cron is fine.
It's webuzo's interface that messes it up when it parses it.

Stop wasting your time using the GUI. Paste it directly into crontab.

Code

yum install nano -y
env EDITOR=nano crontab -e


That's it, 1 command. "env EDITOR=nano crontab -e".
Paste your full cron job there, it will work.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.