The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-03-2006
siog siog is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 6
compare today's date with date in a file

Hi I am very new to scripting,
Can someone show me how to (in unix shell script) compare the system's date with a date in a file. The requirement is to somehow open this file (which will only have a date in it) and compare it with today's date. If they are equal execute a procedure below but if they are not the same, do nothing
sqlplus -s username/password @job.prc> job.log

Thank you so very much
Siog