Article 6J8ZE A script to add and remove a character in a line at a given time

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.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments