Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: wshosted on January 22, 2021, 12:43:46 AM

Title: Run shell script in cron
Post by: wshosted 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.
Title: Re: Run shell script in cron
Post by: studio4host on January 22, 2021, 05:52:14 AM
how do you run it ?
Title: Re: Run shell script in cron
Post by: wshosted 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.