👩🏼‍💻 tech-note

Don't append `.sh` extension to your cron script

Having created a .sh script you want to run periodically, and put it in /etc/cron.daily/, you still find it not working😰? The potential pro

Having created a .sh script you want to run periodically, and put it in /etc/cron.daily/, you still find it not working😰? The potential problem might come from the file extension.

You should NOT append the .sh extension🙅🏻 So just remove it and test it again with run-parts --test /etc/cron.daily.

Or more correctly, your script name should

-->
  • Y Generation
1 min read
👩🏼‍💻 tech-note

How to backup MySQL database on Compute Engine?

If you are looking for how to backup your MySQL database that is hosted over a cloud instance, it shall be better to use Cloud SQL or someth

If you are looking for how to backup your MySQL database that is hosted over a cloud instance, it shall be better to use Cloud SQL or something others that cloud providers offer, as they take care of replication, backup, patches and updates, etc...

However, it is a bit expensive IMHO, so let's backup your database manually on the instance.

-->
  • Y Generation
1 min read