![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Date comparison in file to system time | zainravi | Shell Programming and Scripting | 3 | 03-06-2009 03:48 AM |
| Time comparison | rdhaprakasam | Shell Programming and Scripting | 3 | 02-01-2009 10:41 PM |
| script to run repeatedly after a fixed interval of time | himvat | Shell Programming and Scripting | 3 | 11-20-2008 07:54 AM |
| SOA Security and SAML - Maturity Defined by Usage Not Time | iBot | Complex Event Processing RSS News | 0 | 10-22-2007 06:40 PM |
| Newbee Needs Help - Time comparison | danedder | Shell Programming and Scripting | 4 | 05-25-2005 01:26 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
System time comparison to fixed defined time
I have a requirement of checking the current system time and performing certain actions in a shell script. example:
if the current system time is greater than 1400 hrs, then perform step 1,2,3 if the current system time is greater than 1000 hrs, then perform step 1,2 if the current system time is greater than 0530 hrs, then perform step 1 is there any way for me to do this comparison in UNIX using variables/awk/perl? Kndly guide. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|