Skip to content
Advertisement

Need to run cron job for my php file on hosting server [closed]

I have php file on my linux hosting server and i want to execute it 2 times a day. Below is my link of my php file. Kindly tell me command line code for my php file.

http://viewpackages.com/prices/generator/footer.php

See attached image which is my hosting cron job form. Tell me what i have to write in command line text field click here to see image of my hosting cron job form

Advertisement

Answer

Try pasting this on the command option:

wget -O /dev/null http://viewpackages.com/prices/generator/footer.php

Test it and tell me if there’s anything wrong

Advertisement