Here in this we are using "#outage" to the start of line for all lines in Cron to disable and vice-versa.
crontab -l | sed -e 's/^/#outage/' | crontab
Enable:-
crontab -l | sed -e 's/^#outage//' | crontab
Hope this helps......
1) ************************* Users *************************** -- List of users with roles assigned: SELECT usename AS role_name, CASE...
No comments:
Post a Comment