Search found 67 matches: midnight

Return to advanced search

Close Applcation At Midnight

I want to do database maintenance after midnight. Is there a way to close all harbour applications still running at midnight? What would the source code look like?

Thanks
Fulton Loebel
by floebel
Mon Aug 27, 2012 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Close Applcation At Midnight
Replies: 2
Views: 608

problem with communication at midnight

do my port through which communication with the controller (ADAM 4000). several times per second the controller sends a request (WRITECOMM (nCommIzl, "$ 02" + "6" + chr (13))) I get a response from him function BytesAtPort( nCommIzl ) local cBufIzl := Replicate(Chr(255),1024) Rea...
by mtajkov
Sat Jul 21, 2012 3:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with communication at midnight
Replies: 0
Views: 317

Re: Notification area

... query our servers every 3 hours to see if there is an update, upload certain files to vendors if required, and perform a backup each night after midnight. This eliminates a lot of problems with my clients. Thanks Antonio for having both the tray class and the timer class. Tim
by TimStone
Wed Jun 27, 2012 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Notification area
Replies: 3
Views: 897

Re: Timer with Menu / button options

OK ... I worked this out but for anyone else who has an issue.

IF your timer will go for longer than the current day, do not use Seconds( ). By default it resets to 0 at midnight.

Instead I used ElapTime( ) which will take into account when a day changes, and keep right on working !
by TimStone
Wed Jun 27, 2012 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timer with Menu / button options
Replies: 5
Views: 1121

Re: Subtructing Time

Of course, take care if the second time is LESS than the first. In such case first calculate the time difference from TIME1 to midnight, then the difference from midnight to TIME2 Then add both differences Dear Codemaster, Thanks for the insight! Before I read this thread this morning. ...
by fraxzi
Fri Feb 17, 2012 12:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SOLVED: Subtructing Time
Replies: 11
Views: 3442

Re: Subtructing Time

Of course, take care if the second time is LESS than the first.
In such case first calculate the time difference from TIME1 to midnight, then the difference from midnight to TIME2
Then add both differences
by codemaker
Thu Feb 16, 2012 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SOLVED: Subtructing Time
Replies: 11
Views: 3442

[Solved] How to: Show a Splash Screen

A coffee opened the brain cells (and will probably keep me awake now for hours after midnight). Solved by using a timer. Thanks for reading. Cheers, Ross ********* Having a brain fade near midnight ... I would like to display a bitmap image for a few seconds before ...
by Ross_ValuSoft
Thu Oct 13, 2011 12:32 pm
 
Forum: FiveWin for Pocket PC
Topic: [Solved] How to: Show a Splash Screen
Replies: 0
Views: 826

Mac Ports - GNU for the Mac

http://www.macports.org/index.php

sudo /opt/local/bin/port -v selfupdate

Midnight Commander:
sudo /opt/local/bin/port install mc
sudo /opt/local/bin/mc
copy /opt/local/bin/mc /usr/bin/mc
by Antonio Linares
Mon Apr 18, 2011 6:36 am
 
Forum: Off Topic / Otros temas
Topic: Mac Ports - GNU for the Mac
Replies: 0
Views: 248

Re: he conseguido un iphone

... por SSH usando putty (login: root, contraseña: alpine) 4. para probar que el apt-get va bien, podemos hacer: apt-get install mc (se instala el midnight commander, con mc se ejecuta) 5. apt-get install subversion 6. Creamos una carpeta harbour (mkdir harbour) y descargamos harbour: svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk ...
by mastintin
Fri Nov 05, 2010 9:06 am
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 131371

Re: he conseguido un iphone

... por SSH usando putty (login: root, contraseña: alpine) 4. para probar que el apt-get va bien, podemos hacer: apt-get install mc (se instala el midnight commander, con mc se ejecuta) 5. apt-get install subversion 6. Creamos una carpeta harbour (mkdir harbour) y descargamos harbour: svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk ...
by softruz
Fri Nov 05, 2010 8:30 am
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 131371

Re: he conseguido un iphone

... por SSH usando putty (login: root, contraseña: alpine) 4. para probar que el apt-get va bien, podemos hacer: apt-get install mc (se instala el midnight commander, con mc se ejecuta) 5. apt-get install subversion 6. Creamos una carpeta harbour (mkdir harbour) y descargamos harbour: svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk ...
by Antonio Linares
Mon Oct 18, 2010 12:01 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 131371

Re: Automatic updating

... is shut down, the shortcut is in the startup folder so it will run again when the "server" is turned back on. Backups are daily ( afer midnight ), and other submissions are on their scheduled basis. The program will cycle every six hours, so it does this 4 times a day. If an update ...
by TimStone
Fri Apr 30, 2010 2:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Automatic updating
Replies: 9
Views: 3464

Re: I'm stuck - "Time" issue

... be useful or useful to someone else. Using these functions the new time is: cNewTime := stot( ttos( cNewTime ) + 4 ) This also handles passing midnight. When thinking about it, here are some senarios you have to deal with. 1) Date1 and date2 are the same. 2) Date1 < Date2 by one or more ...
by James Bott
Wed Jan 13, 2010 6:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm stuck - "Time" issue
Replies: 10
Views: 1872

Re: I'm stuck - "Time" issue

... the set and D2.dbf is the file after the device has been turned off then back on. I manually created D3.dbf just to have a file that was over the midnight time span. Note: the dbf structure is used for other parts of the program so there are many fields that are not used for this test. The fields ...
by Jeff Barnes
Wed Jan 13, 2010 3:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm stuck - "Time" issue
Replies: 10
Views: 1872

Re: I'm stuck - "Time" issue

... the entire module as it is more complicated than this basic description I am giving here. I only have this problem if there is a disconnect over midnight.
by Jeff Barnes
Wed Jan 13, 2010 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm stuck - "Time" issue
Replies: 10
Views: 1872
PreviousNext

Return to advanced search