offers

Domain Names Reseller Hosting Packages Secure Backup Space Shared Hosting Packages

Knowledgebase



 » I cannot use wget, lynx, curl in cron job

curl, wget and lynx are disabled on the server for security reasons.

Hence, instead of something like:

0 0 1 * * /usr/bin/lynx -q http://www.domain.com/cron_dir/cron.php > /dev/null

please change your cron to something like the following to work:

0 0 1 * * /usr/bin/php -q /home/username/public_html/cron_dir/cron.php

Was this answer helpful?

Add to Favourites
Print this Article

Powered by WHMCompleteSolution