Skip to main content

Execute php file via Cron Job with Correct Rights

Comments

1 comment

  • cPanelMichael
    Hello, You could add the PHP script to the root directory (e.g. /root/custom-directory/script.php) and then add the cron job using the "crontab -e" command while logged in via SSH as root. Keep in mind that's a third-party script, and thus any issues that arise from it's use are unsupported. Thank you.
    0

Please sign in to leave a comment.