Author Topic: Run shell script in cron  (Read 2532 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Run shell script in cron
« on: January 22, 2021, 12:43:46 AM »
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.

Offline
*
Re: Run shell script in cron
« Reply #1 on: January 22, 2021, 05:52:14 AM »
how do you run it ?
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.

Offline
*
Re: Run shell script in cron
« Reply #2 on: January 22, 2021, 12:44:47 PM »
Issue resolved, I was incorrect that the script was executing from the terminal window. Fixed script and it now works fine in cron.