If it is a linux system, you can put it in the startup scripts... RedHat has /etc/rc.d/rc.local for instance...
but it really does depend on the operating system and whether you are root (in unixes)...
- Ant | [reply] |
This isn't a Perl question, and in any event depends on your operating system.
update: if you're using Windoze, look at the "Scheduled Tasks" support. This will allow you to run something at startup or at login time. | [reply] |
Depends on what you all "boot time" in Windows. Windows 9x
still runs the CONFIG.SYS and AUTOEXEC.BAT in DOS mode before
starting Windows. A DOS version of Perl could run scripts in
AUTOEXEC.
In Windows NT, there's the startup blue screen. There might
be some special hacks (possibly with specially compiled
versions of Perl... I've never looked into writing apps that
run during that time) to run Perl. Or it might not be possible.
There's also the HKLM\Software\Windows\CurrentVersion\Run
registry keys to run at startup, and then there's of course the startup folder.
As well as login scripts for a network.
Pick your poison...
| [reply] |