A script to add and remove a character in a line at a given time
by Jason.nix from LinuxQuestions.org on (#6J8ZE)
Hello,
I have a configuration file and I want a line from this configuration file to be converted to a comment (#) at a specified time, and then reset the service, and again at a specified time, that line is removed from comment mode and reset the service again. Is this possible with a script?
Thank you.
I have a configuration file and I want a line from this configuration file to be converted to a comment (#) at a specified time, and then reset the service, and again at a specified time, that line is removed from comment mode and reset the service again. Is this possible with a script?
Thank you.