I recently got the file event trigger to work after midnight; hopefully that issue is resolved. But immediately encountered something new.
Before midnight, I dropped a file (which uses a date variable for the current day's date in the filename) in the watched folder, and triggered the job in question, and it ran successfully.
After midnight, I dropped a file with the new current date in the watched folder - and the file event trigger fired. However, the job failed. When looking at the logs what I saw was that some of the variables were showing the previous day's date in the log (0503 being the current date in question.)
For example, at the File Trigger Event, I see this:
5/3/2008 12:08:55 AM Debug File trigger event (objectchanged): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Debug File trigger event (enter lock): 1, path: \servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Debug File trigger event (before counter check): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Debug File trigger event (in counter check): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Debug File trigger event (result object created): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Debug File trigger event (after file release): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
The date variable is showing the previous day's date, the file actually had the current day's date - and the trigger fired?
Then, this is the log of the first task - it still shows the previous day's date in the file name; it did not successfully copy the file, the output was "no output" and the result was "successful".
5/3/2008 12:08:55 AM Debug Task (1362) was added to processlist: Move 13 file to remote test
5/3/2008 12:08:55 AM Debug File trigger event (before sending result): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Info Task started: Move 13 file to remote test
5/3/2008 12:08:55 AM Debug File trigger event (after sending result): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Debug File trigger event (exit lock): 1, path: \\servername\m$\FileStore\Messaging0502134500.txt
5/3/2008 12:08:55 AM Info Task completed: Move 13 file to remote test
5/3/2008 12:08:55 AM Debug Setting previous task in TaskProcessCompleted: Move 13 file to remote test (2f929106-ca41-414e-af0a-33e95dadfd67) in job: --TEST--
The second task is an encryption task, which failed, since the file had not been moved in the first task. Note this time, though, the date variable is showing the current day's date as expected.
5/3/2008 12:08:57 AM Err PGP File encryption error: Could not find file '\\servername\m$\FileStore\Messaging0503134500.txt'