i am trying to run a PHP automatically on a server every 15 minutes. The PHP should send mails to some contacts from a database. I have created the PHP and tested it and it’s ready.
Now i dont know how to set it to run every 15 minutes.
I read some article about it on this website and i saw something about cronjob. I know the server where i stored my php has the stuff installed to run cronjobs but to be honest i dont know where to start this. I have a ftp where i upload the phps and a froxlor admin panel.
I hope someone can enlighten me with this ‘next level’ thing 😀
Thank you very much,
Daniel!
Type
crontab -e, and add the below line:If you didn’t add execute permission to your script, you need to add the php executive.