Re: [Dev-C++] creating new file after some time
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alfred P. R. <al...@ya...> - 2005-02-16 20:13:06
|
That sounds more like a system function. at and cron are the utilities that provide that functionality in Unix/Linux. Both can be shelled from a process or thread. For Windows, that functionality belongs to the Windows Task Scheduler. How that would be called from a process or thread is beyond me. IMO, you could in theory set up a hidden background process that creates the functionality you are looking for, but it would be both replicating a system function and using up unnecessary resources, as some part of the process would have to stay alive to monitor the system time. If you find how to add a task to the Windows Task Scheduler from a process or thread, please post your findings! "Patel, Nilesh M" <Nil...@qu...> wrote: Does anyone know the syntax to call a function that will create a new data file after a given time. For example datafile2 will be created everyday after 20 hours or 10 hours. Any clue. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of dev...@li... Sent: Monday, February 14, 2005 11:16 PM To: dev...@li... Subject: Dev-cpp-users digest, Vol 1 #2318 - 3 msgs Send Dev-cpp-users mailing list submissions to dev...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dev-cpp-users or, via email, send a message with subject or body 'help' to dev...@li... You can reach the person managing the list at dev...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Dev-cpp-users digest..." ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users Alfred P. Reaud |