Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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 superuser.com. –  Ether Dec 29 '09 at 18:35

2 Answers 2

If you have the administrator password, Windows supports this: http://support.microsoft.com/default.aspx?scid=kb;en-us;294676&sd=tech

There are also sudo-like programs for Windows ( http://sourceforge.net/projects/sudowin/ ) 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: http://advent.rjbs.manxome.org/2009-12-07.html

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.