Help updating cron entry using regular expressions
- by Uday
hi I am trying to update a cron entry NOT by using crontab -e but by shell commands.
For example the cron entry is like this:
10 * * * * /home/localuser/foo.sh -b 1 -h 4 > foo_output.sh 2>&1
No i need edit the command line parameters part ONLY i.e
-b 1 -h 4
to something else which will be coming in from the user.
First thing would…