Re: [gtkmm] Time & calling back a function
- From: Vladislav Grinchenko <vgrinche integ com>
- To: SMS WebMaster <sms 4-sms com>
- Cc: gtkmm list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Time & calling back a function
- Date: Fri, 5 Dec 2003 17:31:36 -0500
On Sat, Dec 06, 2003 at 01:09:16AM +0300, SMS WebMaster wrote:
> Hi
>
> I am creating a program that will do some jobs at
> 05:00,12:00,03:00,07:00 and 08:00 every day
>
> so I am as asking, do I have to check every minute if the time is
> 05:00,12:00,03:00,07:00 or 08:00 or there is any gtkmm function that can
> call back my function when the clock comes to 05:00,12:00,03:00,07:00
> and 08:00 ?
>
>
> and if I have to check the time every minute , is there any function
> that can call back my function every minute ?
>
Have you looked at Glib::Timer class reference?
Also, you can use UNIX setitimer() (see the manpage)
hope this helps,
Vlad
> sorry
>
> sorry for my poor english
>
> BTW I know about cron so dont ask me to use it ;)
>
>
>
>
> --
> http://www.4-SMS.Com
> http://eShop.4-SMS.Com
> http://Mozilla.4-SMS.Com
> -*- If Linux doesn't have the solution, you have the wrong problem -*-
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
______________________________________________________
Vladislav Grinchenko e-mail (w): vgrinche integ com
Software Engineer (h): 3rdshift comcast net
Integral Systems, Inc.
Focus on quality, and productivity will follow.
______________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]