1

I have a batch file containing something like this

C:\Python27\Scripts\twistd.py -n -y C:\Program Files (x86)\POS\atidps.py pause

How to create scheduled task to run at startup (to all user including non admin), with the command prompt windows always appear, as like when I run the batch script. So it should gonna be like this.

I'm new in Windows system administration things, so any detailed answer will be appreciated, thank you.

4
  • 1
    This thread has the details you need. stackoverflow.com/questions/4437701/… . See also digitalcitizen.life/advanced-users-task-creation-task-scheduler
    – w32sh
    Commented Jul 30, 2016 at 17:59
  • @w32sh Great! Don't have idea why he posted it on SO, haha. It should be migrated here. Thank you!
    – adadion
    Commented Jul 30, 2016 at 18:04
  • 1
    See here for more details on this type of a task for common issues: superuser.com/questions/1005192/… You want a trigger to use At Logon for Any User or At Startup it sounds to me. If you want it to show at logon then do the at logon otherwise at startup it'll run when Windows starts up. Commented Jul 30, 2016 at 18:12
  • @PIMP_JUICE_IT Superb! Actually I'm just want to post question about NET USE printer share permission issue. But your answer there seems what I was gonna look for. Thank you!
    – adadion
    Commented Jul 30, 2016 at 18:30

1 Answer 1

0

I've found better solution. Make twisted application as Windows Service using NSSM.

More detailed 'How To' can be found from this blog post part 2. There are 3 part articles. It is quite useful, rather than make scheduled task.

You must log in to answer this question.

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