Tips, tricks and all things Kubernetes containers, cloud native, AI, etc
Using systemd as cron replacement
One of the features of systemd are timers. This recipie shows how to run two tasks (first and second) every minute with dependencies between both.
Create a /etc/systemd/system/mytimer.timer file with the following content [Unit] Description=run my timer tasks every minute and after reboot [Timer] OnBootSec=5min OnCalendar=*:0/1 Unit=mytimer.target [Install] WantedBy=basic.target Create a /etc/systemd/system/mytimer.target file with the following content: [Unit] Description=Mytimer StopWhenUnneeded=yes Create a first.service (it will be called before second.service) in /etc/systemd/system/first.…
Read more ⟶Run your own Ghost blog on OpenShift
Easy peasy:
Create a free OpenShift account Setup your environment Run the following command: rhc app create ghost nodejs-0.10 --env NODE_ENV=production --from-code https://github.com/openshift-quickstart/openshift-ghost-quickstart.git Profit Check this quickstart for more information, and the awesome OpenShift documentation…
Read more ⟶First post using Ghost
Testing ghost platform trying to have a nice platform to force myself to write some blog post often :)…
Read more ⟶