Author Topic: Cronjob creation issue  (Read 5567 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cronjob creation issue
« 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.

Offline
**
Re: Cronjob creation issue
« Reply #1 on: June 22, 2018, 05:54:22 PM »
Try to add \&\&  instead of &&
Looks like input filtering in cwp code is broken or misconfigured.

Offline
*
Re: Cronjob creation issue
« Reply #2 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.
« Last Edit: June 25, 2018, 06:44:25 AM by Oxide »

Offline
**
Re: Cronjob creation issue
« Reply #3 on: June 25, 2018, 09:41:29 AM »
Looks like devs made something completely wrong with input filtering.