1

Can anyone please tell how to run perl file from plesk's scheduled tasks every minute... There are plenty of tutorials for php files but can't find anything useful for perl...

Any ideas?

2 Answers 2

2

I have never actually used the scheduled tasks feature of plesk but it looks like it just sets up a standard cron job. I entered the following info and it looks to have worked out.

Choose the user you want the script to run as and then give it the following information.

Minuet = */1
Hour = * 
Day of Month = *
Month = *
Day of week = *
command = /absolute/path/to/yourscript.pl

Really it should be identical to any PHP tutorial you just point the command at your perl script instead. Make sure your script is executable and starts with the proper #!/usr/bin/perl path.

-2

for the command : perl /absolute/path/to/file.pl

1
  • 1
    This would need a lot more of explanation.
    – Sven
    Mar 8, 2013 at 8:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .