Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer

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

share|improve this answer
1  
This would need a lot more of explanation. –  SvW Mar 8 '13 at 8:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.