Cron job not running in private folder

Avatar
  • updated
  • Answered

Hi, I have cron job to run a script located in private folder (one level above public_html), at scheduled time, it doens't execute. If I include that same script in a php file in public_html and run that via www...link, it does execute, any thoughts?

Avatar
johnpaulb-imhs1
Hello, Thank you for contacting us about a Cron job not running. I first recommend confirming if the cron ran successfully, this will help determine if the cron, or the script is failing. Next, I would verify the paths to your script, to confirm they are correct. If your problems persist we are happy to help, but will need some additional information, such as a link or example of the script you are running. Let us know if you have any further questions. Thank you, John-Paul