Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Oxide on June 22, 2018, 01:45:27 PM

Title: Cronjob creation issue
Post by: Oxide on June 22, 2018, 01:45:27 PM
I'm trying to create this cronjob:
Code: [Select]
30 3 * * * cd /home/jgacrm/public_html/app/protected/commands && ./zurmoc jobManager admin TestOutboundEmail &> /dev/null
but the resulting cronjob is:
Code: [Select]
30 3 * * * cd /home/jgacrm/public_html/app/protected/commands
I've tried different variations but it seems the cronjob gets truncated at the first "&"

I've migrated from ISPConfig and this cronjob ran fine.

Any help would be greatly appreciated.
Title: Re: Cronjob creation issue
Post by: Gogo on June 22, 2018, 05:54:22 PM
Try to add \&\&  instead of &&
Looks like input filtering in cwp code is broken or misconfigured.
Title: Re: Cronjob creation issue
Post by: Oxide on June 25, 2018, 06:21:01 AM
Thanks for the suggestion but now the cronjobs just disappears when I save them? :o

I've manually added them via ssh for this account.
Title: Re: Cronjob creation issue
Post by: Gogo on June 25, 2018, 09:41:29 AM
Looks like devs made something completely wrong with input filtering.