Portal Home > Knowledgebase > Web Hosting > 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
Add to Favourites
Print this Article