Hi all, I Have a php file in which I have code that does reset on a counter in my mysql database. I would like to have this php file execute everyday at 12:00AM . I am on Arch Linux, with Nginx and php-cgi. I googled this and then found this bit of code :
Code:
0 0 * * * /path/to/php /var/www/html/reset.php
but I have no idea how to run it or how to set it in place. can any one help (also is that bit of code that simple? simply include the path to my php and the script)?
p.s. sorry about the duplicate post, i did not intend for that to happen.