On 06-12-17 11:30, Knurpht - Gertjan Lettink wrote:
Op woensdag 6 december 2017 10:37:40 CET schreef Bob Williams:
Where does my user crontab get stored? I have to reconstruct it each time I reinstall the system, so I thought I should add it to my backup.
Bob As the user concerned do su -c 'crontab -u USER -l > /home/USER/some_folder/some_file_name' and to restore do su -c 'crontab -u USER < /home/USER/some_folder/some_file_name'
You could write a small script to dump each user's crontab in some hidden folder his/her homedir - Gertjan Lettink, a.k.a. Knurpht
openSUSE Board Member openSUSE Forums Team
I do not think you need su -c to do that? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org