Ok what is the SSI command to run test.cgi if test.html file is over 3 hours old?
<!--#exec cgi="/cgi-bin/test/test.cgi" (This works fine currently, but I only want to run if the file test.html is more than 3 hours old)
I know this:
#flastmod virtual (Gives me the date modified)
#DATE_LOCAL (Gives me Local time)
What do I need to do to execute if difference is < 3 hours?
<!--#exec cgi="/cgi-bin/test/test.cgi" (This works fine currently, but I only want to run if the file test.html is more than 3 hours old)
I know this:
#flastmod virtual (Gives me the date modified)
#DATE_LOCAL (Gives me Local time)
What do I need to do to execute if difference is < 3 hours?