I have a short bash script in my crontab to run a heavy network
rclone backup task
#!/bin/bash if [ is_running ]; then exit 1; else rclone command; fi
Which service, program or command will become true when I configure a network as "restricted background data" in the wireless administrator, so that I can add it to the bash script check and not execute the rclone command?
Ubuntu 18.04, Gnome.