▲ 6 r/bash
How to create crontab/cronjob through a script?
I want to add a cronjob entry programmatically through the script instead to manually adding the entry in crontab -e.
Suppose, i have a script that runs to check for ram usage, and I want to add a cronjob inside the same script and run it every 5 mins. Is it possible to do so?
u/JK-Rofling — 3 days ago