cron job randomly once a day
Posted: Sat Oct 30, 2010 7:07 pm
I want to create a cron job randomly once a day for my site's registration.
The responsible file for registrations is a config file and I need to change the contents though a php file
twice on day (on and off)
I know the way for random cron job for example
*/n * * * * /usr/local/bin/php /home/user/domain.com/cron.php >/dev/null 2>&1(registrations on)
but i don't know how to change the values after one hour to normall (registrations off)..
Any suggestions on this>??
Sorry for my bad English
Thank you in advance
The responsible file for registrations is a config file and I need to change the contents though a php file
twice on day (on and off)
I know the way for random cron job for example
*/n * * * * /usr/local/bin/php /home/user/domain.com/cron.php >/dev/null 2>&1(registrations on)
but i don't know how to change the values after one hour to normall (registrations off)..
Any suggestions on this>??
Sorry for my bad English
Thank you in advance