steven1976
New Member
Some years ago, I found a similar script online and modified it to run on my Linux mint system to get various star trek alerts (shows you how old I am) based on my battery state.
I am not a programmer, just a retired engineer with time on his hands.
See attached script. and systemctl files. I uploaded them as text.
After mint version upgrades, and possibly lenovo idea pad updates the crontab execution of the script no longer seems to be working,
The script is executable.
The script runs in terminal or just run
The crontab entry is:
* * * * * /home/steven/Downloads/battery/alert.sh >/dev/null 2>&1
Have run systemctl status cron, and it seems the cron job is running, but the script itself is not executing properly.
I have looked around and tried various things and cannot find where i have gone wrong. Shell, environment, path ??? Adds to crontab or script file itself ???
Any suggestions would be appreciated
Steve1976
I am not a programmer, just a retired engineer with time on his hands.
See attached script. and systemctl files. I uploaded them as text.
After mint version upgrades, and possibly lenovo idea pad updates the crontab execution of the script no longer seems to be working,
The script is executable.
The script runs in terminal or just run
The crontab entry is:
* * * * * /home/steven/Downloads/battery/alert.sh >/dev/null 2>&1
Have run systemctl status cron, and it seems the cron job is running, but the script itself is not executing properly.
I have looked around and tried various things and cannot find where i have gone wrong. Shell, environment, path ??? Adds to crontab or script file itself ???
Any suggestions would be appreciated
Steve1976
Last edited:

