Skip to main content

How to prevent cron from emailing protected directory pw

Comments

3 comments

  • cPanelMichael
    Hello, Are you able to run the script directly instead of using cURL to access the script (e.g. "php /path/to/file.php")? If so, you should be able to skip the authentication requirement. Thank you.
    0
  • naplandgames
    Thank you, that should work. Last time we tried running php (vs curl) from cPanel cron they never ran. No clue why. These run from bash just fine so I'll give it a go. Thanks again!
    0
  • naplandgames
    Seems to work fine, but (of course) no longer can I get stats from curl. Oh well. Good enough! Thanks again!
    0

Please sign in to leave a comment.