theadultsplayground
BANNED
- Jan 24, 2008
- 1,200
- 340
I have a small problem that maybe someone on here can help me out with. I have a MySQL database that is the back end for a website of mine. Although I allow users to make changes to the demo website I need it to reset back to it's original data every 6 hours (maybe every 24hrs). This would require me to make a copy of the database (I can just store it in a directory on my website and kick off a cron job that would import the sql file (and overwrite the existing data).
Anyone know the syntax for this cron job (I don't have to use Curl).
Anyone know the syntax for this cron job (I don't have to use Curl).