Thread
:
Shell script to run command in time frame of day
View Single Post
impeham
2011-08-22 , 07:54
Posts: 669 | Thanked: 433 times | Joined on May 2010
#
4
alarmd is not an option - the trigger for this script is dbus event - i do not want it to run in certain hour (if i did - i would know what time it is running).
I will definitely need help in making such a command in shell script (format the strings of course) since i am very weak at this:
the .sh script will be something like this is pseudo code:
if [ time is between 16:00 to 18:00 ]; then
[run the command]
fi
Thanks!
Quote & Reply
|
impeham
View Public Profile
Send a private message to impeham
Visit impeham's homepage!
Find all posts by impeham