By niroxu
Hi there,
I was wondering how I could most easily setup nightly SQL script executions using the RDBMS here. I’m hoping to build a MySQL or Microsoft SQL Server database (as I learned how to use these in college) here for a personal learning project.
Every night, I’d like to run some CRUD queries to update my tables. Can anyone please point me in the right direction?
Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi @nirox,
My suggestion would be for you to use cron jobs. The cron jobs should be executed at night whenever you want and they should be scripts. In these scripts, you can specify what database queries to be done. I think that’s the best option and one that is largely used in most setups!
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.