Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - cwpnz

Pages: [1]
1
CentOS-WebPanel Bugs / Creating CRON jobs in CWP
« on: January 19, 2019, 01:35:16 AM »
When I create a new CRON job in the CWP -> Server Settings -> CRONtab for users section it appears to be truncating my commandline. CWP7 Pro. The part of the command is anything after an & ampersand e.g. a CRON job ending with

> /dev/null 2>&1

becomes

> /dev/null 2>

and doesn't run. It does run when I delete the end of the command e.g. if I delete > /dev/null 2>&1 from the end, it completes. The full command is 115 characters long (including the end bit) Is there an escape character required? Do I need to include the statement in quotes? Also, not ALL of my CWP users are listed in the CRONtab for users section. They are ALL listed in the dropdown box to be used as the users to create the CRON job for, however, if I select one in the drop down that isn't listed under Scheduled CRON Jobs, the job DOESN'T appear to be created

Any assistance greatly appreciated

Pages: [1]