Page 2 of 2

Re: Possible timeout on Dropbox command file?

Posted: Wed Apr 22, 2020 6:13 pm
by RobLatour
Hi pjmcnally,

I’ve coded and tested what I believe should be a fix for the issue you have reported. If you would like to try it out the beta can be found here:
Push2RunSetupv303beta.exe

If you do try it out, I would appreciate your comments.

Re: Possible timeout on Dropbox command file?

Posted: Wed Apr 22, 2020 8:25 pm
by pjmcnally
Thanks Rob. I'll test for a day or 2 and let you know.

Peter.

Re: Possible timeout on Dropbox command file?

Posted: Thu Apr 23, 2020 3:22 am
by pjmcnally
Hi Rob.

The multiple file issue seems to have been been resolved however now the time check on the command.txt file is not (?) working.

The session log follows.

The event at: "2020-04-23 17:12:55.104 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt" occured when the PC was wakened from a sleep state and the corresponding Google Assistant command was initiated some minutes earlier.

Im curious what age interval is tested on the file?

Regards,
Peter.
___________________________

2020-04-23 10:27:17.554 - Push2Run version 3.0.3.0 started

2020-04-23 10:27:17.579 - Windows UAC notify feature is on

2020-04-23 10:27:17.594 - Normal privileges are in effect

2020-04-23 10:27:17.795 - Current network adapter is Ethernet

2020-04-23 10:27:17.876 - Network status is up

2020-04-23 10:27:18.305 - Dropbox monitoring begun for C:\Users\Electric\Dropbox\Apps\Push2Run\

2020-04-23 10:27:32.632 - Incoming Dropbox trigger ...

2020-04-23 10:27:33.644 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt
2020-04-23 10:27:33.650 - File contents:
Push2Run_Electric
make pc sleep
April 23, 2020 at 10:26AM

2020-04-23 10:27:33.711 - action completed

2020-04-23 10:27:39.725 - Deleting : C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt

2020-04-23 10:27:40.168 - Current network adapter is Loopback Pseudo-Interface 1

2020-04-23 10:28:01.858 - Current network adapter is Ethernet

2020-04-23 10:29:46.969 - Incoming Dropbox trigger ...

2020-04-23 10:29:47.984 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt
2020-04-23 10:29:47.992 - File contents:
Push2Run_Electric
make pc sleep
April 23, 2020 at 10:29AM

2020-04-23 10:29:48.025 - action completed

2020-04-23 10:29:54.040 - Deleting : C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt

2020-04-23 10:29:55.532 - Current network adapter is Loopback Pseudo-Interface 1

2020-04-23 10:30:52.860 - Current network adapter is Ethernet

2020-04-23 10:30:54.261 - Incoming Dropbox trigger ...

2020-04-23 10:30:55.274 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command (1).txt
2020-04-23 10:30:55.282 - File contents:
Push2Run_Electric
make pc sleep
April 23, 2020 at 10:30AM

2020-04-23 10:30:55.308 - action completed

2020-04-23 10:31:01.321 - Deleting : C:\Users\Electric\Dropbox\Apps\Push2Run\Command (1).txt

2020-04-23 10:31:01.350 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command (2).txt
2020-04-23 10:31:01.357 - File contents:
Push2Run_Electric
make pc sleep
April 23, 2020 at 10:30AM

2020-04-23 10:31:01.378 - action completed

2020-04-23 10:31:02.155 - Current network adapter is Loopback Pseudo-Interface 1

2020-04-23 10:31:22.931 - Deleting : C:\Users\Electric\Dropbox\Apps\Push2Run\Command (2).txt

2020-04-23 10:31:22.943 - Incoming Dropbox trigger ...

2020-04-23 10:31:23.885 - Current network adapter is Ethernet

2020-04-23 10:31:23.955 - Could not find any files to work with

2020-04-23 10:32:57.550 - Current network adapter is Loopback Pseudo-Interface 1

2020-04-23 12:37:14.879 - Current network adapter is Ethernet

2020-04-23 12:37:16.786 - Incoming Dropbox trigger ...

2020-04-23 12:37:17.799 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command (1).txt
2020-04-23 12:37:17.805 - File contents:
Push2Run_Electric
make pc sleep
April 23, 2020 at 11:28AM

2020-04-23 12:37:17.810 - The Dropbox file's "Created At" time is more than three minutes ago; the Dropbox file will be deleted and no further processing action will be taken

2020-04-23 12:37:17.820 - Deleting : C:\Users\Electric\Dropbox\Apps\Push2Run\Command (1).txt

2020-04-23 12:37:17.833 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt
2020-04-23 12:37:17.839 - File contents:
Push2Run_Electric
make pc sleep
April 23, 2020 at 10:36AM

2020-04-23 12:37:17.845 - The Dropbox file's "Created At" time is more than three minutes ago; the Dropbox file will be deleted and no further processing action will be taken

2020-04-23 12:37:17.856 - Deleting : C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt

2020-04-23 12:37:17.868 - Incoming Dropbox trigger ...

2020-04-23 12:37:18.880 - Could not find any files to work with

2020-04-23 15:46:30.620 - Current network adapter is Loopback Pseudo-Interface 1

2020-04-23 17:12:51.856 - Current network adapter is Ethernet

2020-04-23 17:12:54.086 - Incoming Dropbox trigger ...

2020-04-23 17:12:55.104 - Processing Dropbox file: C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt
2020-04-23 17:12:55.111 - File contents:
Push2Run_Electric
make pc sleep
April 23, 2020 at 05:10PM

2020-04-23 17:12:55.223 - action completed

2020-04-23 17:13:01.238 - Deleting : C:\Users\Electric\Dropbox\Apps\Push2Run\Command.txt

2020-04-23 17:13:02.399 - Current network adapter is Loopback Pseudo-Interface 1

2020-04-23 17:13:36.372 - Current network adapter is Ethernet

Re: Possible timeout on Dropbox command file?

Posted: Fri Apr 24, 2020 8:18 am
by RobLatour
I just actually updated the program on the website based on it working for another client and in my own testing.

The logic for the time interval did not change. The interval is three minutes (as described in the session log). I would have otherwise liked to make in marginally shorter, but the timestamp from IFTTT does not include seconds. So when it says 10:26AM Push2Run doesn't know if that's 10:26:00, 10:26:59, or exactly where in between.

In any case, if you would like to download the newly released version, it is now available on the website (it includes an extra edit on the dropbox pathname to ensure it ends in a backslash, that change was not in the beta). The beta version has now been taken down.

Hope this helps.

Re: Possible timeout on Dropbox command file?

Posted: Fri Apr 24, 2020 10:30 pm
by pjmcnally
Thanks - downloaded and installed.

I'll let you know if any problems arise.

I really appreciate your quick and effective responses and just made a small donation.

Peter.

Re: Possible timeout on Dropbox command file?

Posted: Fri Apr 24, 2020 11:48 pm
by RobLatour
Great, hope it works out for you - and thanks for the kind donation!