Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to run perl script automatically every day on win32 with different user than the currently-logged on user could someone provide an idea ? ?

share|improve this question

migrated from Dec 30 '09 at 6:47

This question came from our site for professional and enthusiast programmers.

This is a dupe of many questions on – Ether Dec 29 '09 at 18:35

If you have the administrator password, Windows supports this:;en-us;294676&sd=tech

There are also sudo-like programs for Windows ( ) which are somewhat more flexible that runas.

share|improve this answer
That deals with the "with different user" but completely misses the "automatically every day" bit. – ysth Dec 29 '09 at 22:40

Can't you run the script from the windows' "schedule task"? You can also set it to run with a different user.

Or use RJBS App::Cronjob which I read from his advent calendar here:

Not sure if that will work on windows though...

share|improve this answer

Your Answer


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