I'm examining a particular setup, and they have their crontab as follows:
0 * * * * lynx http://www.example.com/cron/scriptA.php
Of course, this relies on the 'security-by-obscurity' precept, because any person on the internet, knowing where those files are located, can call them and potentially overload the server.
Besides that, is there anything inherently wrong with the above 'model' of running that script.
When I tested lynx http://www.example.com/cron/scriptA.php from the command prompt as root, it prompted me to download a session cookie, so I'm thinking I should atleast be modifying the above to:
lynx -accept_all_cookies http://www.example.com/cron/scriptA.php
Or should I be using:
wget -q -O /dev/nul http://www.example.com/cron/scriptA.php