Hello all,
I have a process that needs to run if a specific number of days have passed since an event. So, if the mailed date is 15 days ago, I generate a reminder letter, save all the letters to a directory and inform the user that letters are ready to be printed (have to be on letterhead, that's why the delay rather than just printed). But I only want to run the process once no matter how many users sign on, it should only run if it's the 15th day AND it hasn't already run. I figured that if I check the directory where the documents are saved to see if they already exist then I could decide if the process needs to be run. Is there a better way to only have the process run once on the 15th day? If I do need to check the directory for existing files, how do I do that? Thanks!
Leslie
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned
I have a process that needs to run if a specific number of days have passed since an event. So, if the mailed date is 15 days ago, I generate a reminder letter, save all the letters to a directory and inform the user that letters are ready to be printed (have to be on letterhead, that's why the delay rather than just printed). But I only want to run the process once no matter how many users sign on, it should only run if it's the 15th day AND it hasn't already run. I figured that if I check the directory where the documents are saved to see if they already exist then I could decide if the process needs to be run. Is there a better way to only have the process run once on the 15th day? If I do need to check the directory for existing files, how do I do that? Thanks!
Leslie
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned