I have a file in mysite.com/url1/url2/cronjob.php which has to be run every minute. I try every combination, but can\'t succeed. What should I run in command line? Thank you
I got confused for the first time where to add all of these and finally found.
Type the following in the linux/ubuntu terminal
crontab -e
select an editor (sometime it asks for the editor) and this to run for every minute
* * * * * /usr/bin/php path/to/cron.php &> /dev/null