Announcement

Collapse

Maintenance

The forum could be offline for 30-60 minutes in the very near future for maintenance (said 3pm Pacific). I was behind on getting this notice. I do apologize.
See more
See less

TSR's

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TSR's

    Can anyone offer a quick solution here?
    I am creating a TSR for a client of mine that needs to fire once
    and only once each day at 4am in the morning.

    Is there a quick and dirty way to do this??

    Thanks in advance,
    Noble


    ------------------
    Noble D. Bell - Owner
    Noble Software Publishing
    http://www.noblesoftware.com
    Noble D. Bell - Owner
    Noble Software Publishing
    http://www.noblesoftware.com

  • #2
    What will the TSR actually do? That is, TSR's eat into conventional memory, so they are not always the best solution to "task scheduling".

    Since you want quick-n-dirty, and if the PC is running Windows, have you though about using the scheduler to handle the timing task for you?

    Otherwise the way to do it would be to use POPUP TIMER to activate the TSR.

    To start off, the TSR would need to calculate the number of ticks until 4am, set that with POPUP TIMER, then use POPUP SLEEP to pop down until activation.




    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      The TSR will be running on an old DOS only machine and all it
      will do is at 4am backup the contents of drive C to drive D.
      That is it.

      I will give it a try.


      ------------------
      Noble D. Bell - Owner
      Noble Software Publishing
      http://www.noblesoftware.com
      Noble D. Bell - Owner
      Noble Software Publishing
      http://www.noblesoftware.com

      Comment


      • #4
        Some years ago I wrote a backup routing to do just what you want.
        It has the ability to change the "pop on time time etc.

        I will dig it up for your FREE use if you like.

        (it runs in pure dos on a network - Netware and it uses pkzip etc)

        [email protected]



        ------------------

        Comment

        Working...
        X