<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Chris & Pierre,<br>
<br>
cron jobs can easily be implemented by attaching event scripts to
the standard "clock.*" events.<br>
<br>
→ <a class="moz-txt-link-freetext" href="https://docs.openvehicles.com/en/latest/userguide/events.html">https://docs.openvehicles.com/en/latest/userguide/events.html</a><br>
<br>
For a daily job running at 01:00, all you need is a simple script
for "clock.0100".<br>
<br>
For jobs running at specific time conditions, make the event script
a javascript, e.g. along something like this:<br>
<br>
<font face="monospace">(function(){<br>
const now = new Date();<br>
const day = now.getDay(); // Sunday - Saturday : 0 - 6<br>
if (day == 3) {<br>
print("now performing the wednesday job…");<br>
}<br>
})()</font><br>
<br>
A plugin providing a simple UI to manage cron jobs should be easy to
create.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 21.07.23 um 21:53 schrieb Chris van
der Meijden:<br>
</div>
<blockquote type="cite"
cite="mid:07a017bf11799a318ca3593e156327d9de6a16bc.camel@arachnon.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}div.WordSection1
{page:WordSection1;}</style>
<div>Wifi still works for me. I did some lazy search on how to
implement a cronjob script within OVMS without success. So my
"workaroud" for now is to type a preventive</div>
<div><br>
</div>
<div>module reset</div>
<div><br>
</div>
<div>in the "Messages" command line within the app every morning
(as long as I'm still connected to my wifi).</div>
<div><br>
</div>
<div>This is a great example of "Turnschuhadmin" (sneaker admin)
...</div>
<div><br>
</div>
<div>Feature request: A simple cron implementation for scripting.</div>
<div>Or a hint on where to find such a feature within OVMS, if it
already exists.</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Chris</div>
<div><br>
</div>
<div><br>
</div>
<div>Am Freitag, dem 21.07.2023 um 21:23 +0200 schrieb
<a class="moz-txt-link-abbreviated" href="mailto:pi.uhl@bluewin.ch">pi.uhl@bluewin.ch</a>:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px
#729fcf solid;padding-left:1ex">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">At
the moment I have the same problem with at least 3
customers of mine. WLAN doesn't work anymore either. The
only solution is powerless and afterwards it works again
for some time. I would appreciate to install a watchdog
which makes a reset every 24 hours.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Pierre
Uhl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span
lang="DE"> OvmsDev
<a class="moz-txt-link-rfc2396E" href="mailto:ovmsdev-bounces@lists.openvehicles.com"><ovmsdev-bounces@lists.openvehicles.com></a> <b>Im
Auftrag von </b>Chris van der Meijden<br>
<b>Gesendet:</b> Samstag, 15. Juli 2023 15:33<br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:ovmsdev@lists.openvehicles.com">ovmsdev@lists.openvehicles.com</a><br>
<b>Betreff:</b> Re: [Ovmsdev] Modem - Last Error: User
Interrupt<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">With the constantly PoweringOn state my
odyssee started with the 5360 Modem.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I recently changed to the 7600 and
could not see anything obvious about "neglected" contacts.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If this thing has no solution I'll
write a script that does a reboot every 24 hours.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Nothing we can't handle with a nice
workaround ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Am Samstag, dem 15.07.2023 um 14:35
+0200 schrieb sharkcow:<o:p></o:p></p>
</div>
<blockquote type="cite" style="margin:0 0 0 .8ex;
border-left:2px #729fcf solid;padding-left:1ex">
<div>
<p class="MsoNormal">Funny coincindence: my 5360 modem
stopped working a few days ago<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">(constantly in state PoweringOn). I
tried rebooting & a different<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">firmware to no avail. Just took the
module out of the car, opened it and<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">it ran fine on my workbench and then
also back in the car... maybe just<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">some bad contacts that needed some
"love" :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Am 14.07.23 um 19:47 schrieb Chris
van der Meijden:<o:p></o:p></p>
</div>
<blockquote type="cite" style="margin:0 0 0 .8ex;
border-left:2px #729fcf solid;padding-left:1ex">
<div>
<p class="MsoNormal">After I upgraded my modem to a
SIM7600 (and replaced my SIM card) I<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">hoped the GSM would be running well
again.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I'm sorry to say that I still have
issues. Every few days GSM will<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">disconnect with "Last Error: User
Interrupt". When it disconnects this<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">way it won't connect anymore. Not
even when I change location. Only<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">after a "module reset" the
connection comes back for another few days.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The antenna I use is the internal
antenna of the car. I had no issues<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">like this last year. Same antenna
then.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Am I alone with this behauviour?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Any ideas?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanx<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Chris<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">cellular status<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">MODEM Status<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Model: SIM7600<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Network Registration:
RegisteredHome<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Provider: congstar<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Signal: -77 dBm<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mode: GSM;Online<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">State: NetLoss<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mux: Status up<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">PPP: Not connected<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Last Error: User Interrupt<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">GPS: Not running<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">module reset<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">cellular status<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">MODEM Status<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Model: SIM7600<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Network Registration:
RegisteredHome<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Provider: congstar<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Signal: -79 dBm<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mode: LTE;Online<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">State: NetMode<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mux: Status up<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">PPP: Connected on channel: #2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">GPS: Not running<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">OvmsDev mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a
href="mailto:OvmsDev@lists.openvehicles.com"
moz-do-not-send="true" class="moz-txt-link-freetext">OvmsDev@lists.openvehicles.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">OvmsDev mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a
href="mailto:OvmsDev@lists.openvehicles.com"
moz-do-not-send="true" class="moz-txt-link-freetext">OvmsDev@lists.openvehicles.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>_______________________________________________<br>
</div>
<div>OvmsDev mailing list<br>
</div>
<div><a href="mailto:OvmsDev@lists.openvehicles.com"
moz-do-not-send="true" class="moz-txt-link-freetext">OvmsDev@lists.openvehicles.com</a><br>
</div>
<div><a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</div>
</blockquote>
<div><br>
</div>
<div><span></span></div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</body>
</html>