Home: Perl Programming Help: Win32 Programming Help:
Check if same perl script is running

New User

Jan 13, 2010, 1:45 PM

Views: 7233
Check if same perl script is running

hi im a perl beginner.

i have a script(database updates) that im running on remote pc and i created a shortcut for it on the startup folder(in case the pc restarts, the script would continue itself ).

my problem is whenever other users logs on the remote pc, basically it also starts up the script and it messes up with the one im already running.

is there a way to check if a script is already running through code without having to check it manually on task manager?