New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Run shell script in cron

Started by wshosted, January 22, 2021, 12:43:46 AM

Previous topic - Next topic

wshosted

I have tried several methods, but so far unable to run a shell script as a cwp cron job.

The script works fine when called from the terminal screen.

studio4host

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

wshosted

Issue resolved, I was incorrect that the script was executing from the terminal window. Fixed script and it now works fine in cron.