now, i have a program that runs a task for users. now, when users run this program, the program will get to a point where it will need certain entries in the crontab to be commented out. when it gets to that point, the program will ask the user to perform the crontab task task and when the user is done with it and ready to continue, he/she may enter "yes" to continue.
the problem is,
i really dont want the users to have to go edit the crontab file themselves so is there anyway i can automatically comment out the wanted entries in the crontab myself without having the users do it??
the entries i'm talking about add up to around 7 to 8 lines and it can be time consuming for people who can be sloppy/or dont know what they're doing.
any help will be appreciated. thanks guys