Need script to automate update
Asked by
chintalvaady
Hi,
I was wondering if its possible to write a shell script to automate the update process in my ubuntu 10.10 computer.The script should check following conditions before initiating update manger.
if
time <= 2.00 hrs (IST*) && >= 8:00 hrs (IST*)
run update manager
else
dont run
Description:
When the computer is switched on between 2 am to 8am,the computer should automatically perform update and should down automatically shut-down after finishing the update process.All these things should be done without any human interaction.(The minimum interaction would for a person to switch on a the PC).
Guys as i have no idea abt shell scripting,pls help me to write a script to perform above activities.
* IST- Indian standard time.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu cron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
To post a message you must log in.