Cronjob creation issue

Started by Oxide, June 22, 2018, 01:45:27 PM

Previous topic - Next topic

Oxide

I'm trying to create this cronjob:
30 3 * * * cd /home/jgacrm/public_html/app/protected/commands && ./zurmoc jobManager admin TestOutboundEmail &> /dev/null

but the resulting cronjob is:
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.

Gogo

Try to add \&\&  instead of &&
Looks like input filtering in cwp code is broken or misconfigured.

Oxide

#2
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.

Gogo

Looks like devs made something completely wrong with input filtering.