Загрузка...

Cron Job to Restore Database & Files Every Hour - Great for Script Live Demos!

I'll show you how to reset your website every hour (or any time interval) by restoring your database and website files using a cron job. This is great if you are setting up a Live Demo for your PHP script or software so that way your demo script resets after your a prospective buyers mess around with the data -- allowing it to be in ideal condition for the next person to try out.

And if you have a better method of accomplishing this, please post in the comments below. I would really appreciate it as I am sure others would as well.

Here is the code referenced in the video:
https://docs.google.com/document/d/1tA1Lpwp4uaGQGTIuZvJ2aIBtvSllN0A7rzmM__sBDh4/edit?usp=sharing

Hope you found this helpful!

Видео Cron Job to Restore Database & Files Every Hour - Great for Script Live Demos! канала Ryan Huang
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять