in reply to Re: Pause Loop
in thread Pause Loop

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

Replies are listed 'Best First'.
Re^3: Pause Loop
by thezip (Vicar) on Apr 28, 2007 at 00:03 UTC

    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