in reply to Pause Loop

pyro.699, what is your OS? If you're on one of the Unices, why not just have the crond handle it? This would have the benefit of not having to poll constantly ...


Where do you want *them* to go today?

Replies are listed 'Best First'.
Re^2: Pause Loop
by pyro.699 (Novice) on Apr 27, 2007 at 23:56 UTC
    I would use cronjobs except the script will be moving from pc to pc and will not be stationary. Some are Windows XP others Are Ubuntu Linux, it would just be easier if it had a nevereding loop :) Thanks though

      Given the assumption that you'll need to poll, you could use something like MIME::Lite to send email in an OS agnostic manner...

      Update:

      This probably isn't such a good solution since MIME::Lite is not core Perl and you'd need to install it on each target machine.

      Nonetheless, you'll have difficulties getting the email part to work due to OS differences...

      What is your plan of attack for this?


      Where do you want *them* to go today?
        MIME::Lite is not core Perl

        Mail::Sendmail isn't core perl either, but it is pure Perl, so installing it is simply a matter of putting the .pm file where Perl can find it, or failing that putting it in the same directory as your script and prepending a use lib statement. I don't know whether the same is also true of MIME::Lite, but Mail::Sendmail is quite simple to use in any case, when all you need to do is fire off an email message.

        -- 
        We're working on a six-year set of freely redistributable Vacation Bible School materials.
        Regardless, im going to have perl and the required modules already installed on the machines