ok so what i am trying to do is make a script run like every hour or day that would restore a DB back to it original state.

or even something like if i create an email system to send off emails at a certain time that it would run the script even hour to check if on or more needs to be sent.

idk where to start or to do.

thanks in advanced

Look up cron jobs. They are what you are looking for.

Write a script to restore DB ,put it in a cron job.

cool thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.