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

225019099301.apps.googleusercontent.com

Backup MySQL to Azure Storage in 30 Seconds

Generate GoDaddy SSL Certificate (.crt) for Azure Websites (.pfx)