If your hosting provider blocked you from running PHP files from command line (for security reason).
cd /home/<user>/domains/<domain.com>/cron_scripts/; /usr/local/bin/php script.php
Then the alternative would be using lynx, and access the files via url :)
lynx -dump http://www.<domain>.com/path/script.php > /dev/null 2>&1
No comments:
Post a Comment