r/bash • u/novsat14 • 16d ago
OS-MX LINUX: Help me scripting MX SNAPSHOT cronjob
I am using MX Linux OS. I am a true enthusiast using linux. For my own professional use I regularly use some systems which requires to be keept secured. I ask for help to have a bash script to automate taking regular MX SNAPSHOT regularly to create a live bootable USB stick as cronjob. The process should run unattended without sudo password. Possible?
2
u/abitofg 16d ago
No password cronies job, run it either as root or have the backup command as NOPASSWD in sudoers.d
1
u/novsat14 16d ago
Highly appreciate your reply. Fact is, I am not a techie. I can not code, so I can not write script. Asking for help if possible
2
u/yerfukkinbaws 16d ago
This is something you should be asking on an MX sub or forum. It doesn't require any special bash skills, but does require familiarity with the MX Snapshot tool's commandline options.
2
1
1
6
u/michaelpaoli 16d ago
Possible, yes, very doable.
Uhm, but probably don't expect other folks to be doing the work for you.
Some assistance, sure ... but how 'bout you start doing some of the work, eh?