What commands can I use in Terminal to see pending or scheduled tasks for today or tomorrow.
For example how can I detect pending system shutdown?
There is util called
In case of
If you want to check task for another user use
To understand crontab format please read wiki
If you want to detect exactly system shutdown
The one of possible solutions is to wrap
Another solution is to write a
Also there is another one tricky solution:
If you run
You can find this process using
And you can see a time here. If you kill this process, shutdown will be canceled