Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Cron tab edit problem



Threaded Mode | Print  

 Cron tab edit problem, Cron tab edit problem (6 Replies, Read 9004 times)
razvypp
Group: Member
Post Group: Newbie
Posts: 12
Status:
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
IP: --   

Cron tab edit problem
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
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
IP: --   

Cron tab edit problem
razvypp
Group: Member
Post Group: Newbie
Posts: 12
Status:
Not when adding, only when editing an existing one.
IP: --   

Cron tab edit problem
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
Hi,

Yes while editing the Cron job in Webuzo ?

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

Cron tab edit problem
razvypp
Group: Member
Post Group: Newbie
Posts: 12
Status:
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.


IP: --   

Cron tab edit problem
webuzo_manager
Group: Member
Post Group: Elite Member
Posts: 268
Status:
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.
IP: --   

Cron tab edit problem
fintec-mgmt
Group: Member
Post Group: Newbie
Posts: 9
Status:
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.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 11:04 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.026