Hi,
I need to write script which will read a value from XML file and schedule crontab accordingly.
I have an XML file which has a key value structure where the entries is:
<Param Name="executionInterval" Value="600" />
600 means that the crontab should be scheduled to run every 600 sec.
So as I see there are 4 tasks:
1. Learn shell scripting!
)
2. Retrieve the value from the XML.
3. Convert the value to crontab compatible.
4. Update the crontab config file accordingly.
Need your help...
Thanks,
Michael