Quite a regular
Joined: 2006/11/28 11:18 Last Login
: 2017/3/25 17:03
From Vancouver, B.C., Canada
Group:
Registered Users
|
My AmigaOne loses about 2 seconds per hour, and it's been on for 8 days and is 7 minutes behind.
I was wondering if the script file below would work to reset the clock about once an hour. (I haven't used environment variables successfully ever, but I finally think I understand them. I'm 41 years old, have been using computers since I was 12, and let me tell you, the documentation is WORSE than atrocious, mostly.)
=== ChangeTaskPri -128 SetEnv Count 0 Lab Start Wait 60 Min SetClock Load If $Count EQ 9 Ping SetEnv Count 0 EndIf Eval $Count + 1 to ENV:Count Skip Start Back ===
Another problem I have is if I don't use the internet (cable modem) for about a day and a half, when I try to use AWeb (it's still running), it loses the connection. So, I was thinking that if I ping the net once every 9 hours or so, that I wouldn't get a dropped connection. What happens is, if I disconnect the ethernet cable from the back socket on the A1, unplug the modem from the electric socket (it doesn't have an on/off switch), then plug it back in, and into the computer, without restarting AWeb (3.5.08), I can use the internet again. (I'm quite amazed that it doesn't freak and shut down and/or guru the computer.) I don't know what parameters I need to add to the ping command to get it to work.
Would this also work? Eval $Count + 1 to $Count
I was thinking of calling it something like "TimeSync" and running it invisibly by, run >nil: TimeSync as a back ground process with no shell of it's own open on the desktop.
|