NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

Replies are listed 'Best First'.
Re: cronjob
by Abigail-II (Bishop) on Jul 08, 2002 at 13:17 UTC
    On Unix, or a Unix like OS, you'd use "cron". For something produced in Redmond, use "at". For details, read the manual page. This is not a Perl question, you'd use the same answer if you have a program written in Ada or Eifel, and you wanted that to be run every 30 minutes.

    Abigail

Re: cronjob
by mikeirw (Pilgrim) on Jul 08, 2002 at 13:17 UTC

    Will the script be executing on an Unix machine? If so, check out 'man cron' and 'man crontab'. If you don't have access to the man pages, you can read them here:

    man cron
    man crontab

    Maybe someone else here can provide you with an answer if the script will be running on a Windows machine, or some other OS.

Re: cronjob
by Aristotle (Chancellor) on Jul 08, 2002 at 13:31 UTC
    A CGI script probably can't be trivially scheduled from cron. In that case you'll need to schedule a web fetch using wget, lwp-request or something else, maybe a handrolled script - whichever fits your bill. YMMV tho.

    Makeshifts last the longest.