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

[Magento] Create Contact Form with Dynamic Recipient

bin/sh^M: bad interpreter: No such file or directory