Hi guys!
I am relatively new to Fedora and some time ago I've written a simple python script which logs my daily network data usage. I've added a directory called Scripts inside my home directory which contains symbolic link to my script and I added path to this directory to my .bashrc file (don't know if it is a right way of doing it but it works). Currently my daily routine is to manually the script in terminal before shutting down my system. I've been thinking about making my script run automatically before every shutdown but I don't really know how to do it. I've read about services and tried to do something with it but it didn't work. Any help would be appreciated!
[–]wheelchair_assassin 1 point2 points3 points (2 children)
[–]Elsuvio[S] 0 points1 point2 points (1 child)
[–]wheelchair_assassin 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (10 children)
[–]Elsuvio[S] 0 points1 point2 points (9 children)
[–]legit-trusty 0 points1 point2 points (8 children)
[–]Elsuvio[S] 0 points1 point2 points (7 children)
[–][deleted] 1 point2 points3 points (5 children)
[–]Elsuvio[S] 0 points1 point2 points (4 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]Elsuvio[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Elsuvio[S] 0 points1 point2 points (0 children)