How to create a cron job? Beginner
I want to create a cron job that can do a Session Garbage Collection, and it is recommended by php.net, here is the page from php.net (EXAMPLE #1) , where do I put >/dev/null 2>&1 ? Before or after the php script?
-
It should be in this format: mycommand >/dev/null 2>&1 0 -
It should be in this format: mycommand >/dev/null 2>&1
oh, okay, thank you!0 -
Hello, I'm happy to see you were able to find an answer to your question. Let us know if you have any additional questions. Thanks! 0
Please sign in to leave a comment.
Comments
3 comments