rtoko
Posts: 24
Joined: Tue Feb 22, 2011 9:33 pm

Time based template command

Wed Sep 02, 2015 8:26 pm

Hi,
Is it possible to send second command after some time after the first command has been send...

For example device is reporting every hour so "user" send command for tracking report every 1 minute, but then forgets to send command for 1 hour report. So it is possible to do template command so that after first command second will be send for example after two hours
Regards
rt

User avatar
johan
GpsGate
Posts: 14986
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Time based template command

Wed Sep 02, 2015 9:56 pm

There is a resend feature you can try.

Regards,
Johan

GpsGate Support

rtoko
Posts: 24
Joined: Tue Feb 22, 2011 9:33 pm

RE: Time based template command

Thu Sep 03, 2015 9:30 am

Hi,

please give me more description/explanation

Regards
rt

Originally posted by johan

There is a resend feature you can try.

Regards,
Johan

GpsGate Support

Reglo
Posts: 66
Joined: Wed May 27, 2015 9:09 am
Location: USA

RE: Time based template command

Thu Sep 03, 2015 6:09 pm

Hi rtoko,

Not sure if this is what Johan meant, but you could create a two-step command in which the second step restores your original 1 hour report setting. For the first step you would specify that it should wait for a device response that will never complete (i.e., some random regex pattern), and then specify that if the response is not received in 120 minutes, skip step.

If Johan has something else in mind, I'm curious to know what it is.

Reglo

rtoko
Posts: 24
Joined: Tue Feb 22, 2011 9:33 pm

RE: Time based template command

Thu Sep 03, 2015 7:39 pm

Hi,

Thank you for information ... I'm currently testing something like that ...

Regards
rt

Originally posted by Reglo

Hi rtoko,

Not sure if this is what Johan meant, but you could create a two-step command in which the second step restores your original 1 hour report setting. For the first step you would specify that it should wait for a device response that will never complete (i.e., some random regex pattern), and then specify that if the response is not received in 120 minutes, skip step.

If Johan has something else in mind, I'm curious to know what it is.

Reglo

Return to “GpsGate Server - How to setup and use”