Posted Thu, 03 Jun 2021 05:26:29 GMT by

I run an AWE rule in Globalscape every 5 mins to log into a remote site and check for any files placed in last 5 minutes using %DateAdd( "n", -5, CStr( Now() ))%

Rule runs 2:30, 2:35, 2:40 etc. Sometimes if remote site places file right at time rule runs(2:30) the next run in 5 minutes should in theory pull that file but occasionally it is missed. How can I see what NOW() calculates as current system time?

 

Thanks

 

Joe

 

Posted Sat, 05 Jun 2021 02:02:47 GMT by

Hello Joe,

 

You can use a display box to display what Now() calculates on your system. It should grab the current full date and time in the following format MM/dd/yy H:mm:ss tt, example  6/4/2021 10:00:01 AM.

Posted Wed, 16 Feb 2022 18:50:23 GMT by Dan Pockrus UPS
I have a question in the same regard. I know that the start and completion times of an Automate script are logged because they appear in the run history of the script. Could there be a function created to retrieve these timestamps? That way, one could use Later than <Start timestamp> or <Completion timestamp> rather than using a time based off of Now(). Thoughts?
Posted Tue, 28 Jun 2022 22:15:48 GMT by Alex Escalante
Hello Dan,<br> <br> If you are running Enterprise, you can query the execution events table for the information.&nbsp;<br> <br> However, there is no function currently to accomplish this goal. We can certainly create a feature request. Please send us an email with your request to [email protected] so we may create a case and submit the request.&nbsp;<br> <br> &nbsp;

You must be signed in to post in this forum.