DirectAdmin Cron


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


Comments

Popular posts from this blog

[Azure Websites PHP] Cross Domain request results in blank response page after Preflight HTTP OPTIONS

[Magento] Create Contact Form with Dynamic Recipient