http://www.perlmonks.org?node_id=1092330


in reply to How to make PERL Script run Automaticly?

I'll suggest to consider also other points of view.

You need to make a move only when some user changes something in the database. I this don't occurs really very often, you can just to ask the DB to warn YOU (and maybe to run your perl script) if, and only if, something is changed.

So maybe what you need is to put a species of "system(perl myscript)" command IN the SQL language of your database choice (look at "triggers" and "create procedure" for your DB)... or maybe not. How often is your DB changed, and what permits you have as DB user, DB admin... etc, is the key here.

  • Comment on Re: How to make PERL Script run Automaticly?