Displaying 10 results from an estimated 10 matches for "cancel_timer".
2016 Jun 05
3
Is a timer a file?
...case $1 in
...
ups-back-on-power)
/bin/rm -f /some/path/ups-on-battery
;;
...
esac
This would explain the problem I have with a current script.
Is there some other way of forcing routine cancel_timer from a script or a
configuration file?
Roger
2015 Oct 07
2
Hyper-V Gen 2 waiting for ldlinux.e64
...amp;key);
} while (status == EFI_SUCCESS);
+ Print(L"load_env32 start\n");
if (!setjmp(load_error_buf))
load_env32(NULL);
+ Print(L"load_env32 done.\n");
/* load_env32() failed.. cancel timer and bailout */
status = cancel_timer(timer_ev);
Untested
2017 Mar 21
2
Is a timer a file?
...e new text makes it clear that the upssched timers are
an in-memory device, and that they can only be turned on and off with
upssched.conf declarations such as
??? AT ONBATT * START-TIMER onbattwarn 30
??? AT ONLINE * CANCEL-TIMER onbattwarn
> Is there some other way of forcing routine cancel_timer from a script or a configuration file?
>
> this is the last point to address, but I'd need to better understand prior to potentially taking action:
> theoretically, each event that triggers a timer (like ONBATT) has a counterpart to cancel it (like ONLINE).
> Ex (from the doc):
>...
2017 Mar 21
0
Is a timer a file?
...> esac
>
> This would explain the problem I have with a current script.
>
I've made some additions to clarify things on the timer, and complete the
script:
https://github.com/networkupstools/nut/compare/upssched-doc?expand=1
> Is there some other way of forcing routine cancel_timer from a script or a
> configuration file?
>
this is the last point to address, but I'd need to better understand prior
to potentially taking action:
theoretically, each event that triggers a timer (like ONBATT) has a
counterpart to cancel it (like ONLINE).
Ex (from the doc):
AT ONBATT...
2015 Oct 09
0
load_env32 WAS: Hyper-V Gen 2 waiting for ldlinux.e64
..._SUCCESS);
>
> + Print(L"load_env32 start\n");
> if (!setjmp(load_error_buf))
> load_env32(NULL);
> + Print(L"load_env32 done.\n");
>
> /* load_env32() failed.. cancel timer and bailout */
> status = cancel_timer(timer_ev);
>
>
> Untested
(James did)
It dies in load_env32.
$ git grep load_env
core/diskstart.inc: pm_call load_env32
core/elflink/load_env32.c:void load_env32(com32sys_t * regs __unused)
core/extern.inc: ; elflink/load_env32.c
core/extern.inc: extern load_...
2015 Oct 08
0
{syslinux} Hyper-V Gen 2 waiting for ldlinux.e64
...EFI_SUCCESS);
>
> + Print(L"load_env32 start\n");
> if (!setjmp(load_error_buf))
> load_env32(NULL);
> + Print(L"load_env32 done.\n");
>
> /* load_env32() failed.. cancel timer and bailout */
> status = cancel_timer(timer_ev);
>
>
> Untested
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
>
> ----- End forwarded message -----
>
>...
2016 Jun 03
3
Is a timer a file?
Hi, I'm trying to get a better understanding of what a timer is, so I
added the following line to upssched.conf
# Debug - turn on long-running timer to find out where upssched puts it
AT ONBATT * START-TIMER where-am-I 1000
I can then start this timer by pulling the power cord from the wall for
just a few seconds.
I now have 1000 seconds to find the timer. I don't see it in
2017 Mar 22
0
Is a timer a file?
...ey can only be turned on and off with
> upssched.conf declarations such as
>
> AT ONBATT * START-TIMER onbattwarn 30
> AT ONLINE * CANCEL-TIMER onbattwarn
>
thanks for your confirmation. I'll check to merge that PR.
> Is there some other way of forcing routine cancel_timer from a
>> script or a configuration file?
>>
>> this is the last point to address, but I'd need to better understand
>> prior to potentially taking action:
>> theoretically, each event that triggers a timer (like ONBATT) has a
>> counterpart to cancel it (lik...
2015 Oct 07
3
Hyper-V Gen 2 waiting for ldlinux.e64
> On Wed, Oct 07, 2015 at 05:06:41PM -0500, Clements, James via Syslinux
> wrote:
> > > On Wed, Oct 07, 2015 at 06:01:30PM +0200, Geert Stappers via Syslinux
> wrote:
> > > is for BIOS, not for EFI. So that suggestion can be scraped.
> > >
> > > Which makes
> > > * text which is on the screen of the netbooting (virtual) machine
> > >
2007 Dec 28
9
lost connection 2.0
I lost my "connection lost" error.. but now I''ve got a "Mysql::Error:
MySQL server has gone away" error..
It comes from:
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in ''log''.
I''m not sure if Rails / BackgroundRb uses it .. but i''ve got the mysql
(2.7) gem