Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
CentOS 7 Problems
»
Run shell script in cron
« previous
next »
Print
Pages: [
1
]
Author
Topic: Run shell script in cron (Read 2750 times)
0 Members and 1 Guest are viewing this topic.
wshosted
Newbie
Posts: 21
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.
Logged
studio4host
NOC Partner
Hero Member
Posts: 1331
Re: Run shell script in cron
«
Reply #1 on:
January 22, 2021, 05:52:14 AM »
how do you run it ?
Logged
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
Newbie
Posts: 21
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.
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
CentOS 7 Problems
»
Run shell script in cron