I want to execute a script every 30mins, but i want to use it through cron as it is my personal script which emails me updates from various sites depending on configurations.
So what should i write in Command to run in cpanel to execute my script with name check.php
The format is something like this. Eactly the same as if you were trying to run the command from the terminal.
So for example on my server I would use something like this:
You need to make sure your email address is set correctly.
If you don’t want it to email you the output from the script (i.e. you want to log it, or do the emailing from within the script), put > /dev/null at the end of the command. eg.