Skip to main content

All Questions

0 votes
1 answer
2k views

Start Django App When Windows Starts

I would like to start a Django App automatically when Windows starts. I created a .bat file (that I intend to execute using Task Scheduler) containing the following: C:\Users\HP\project-name\Scripts\...
Mounir Benhalima's user avatar
2 votes
0 answers
19 views

Unable to launch UI of java application which is executed by scheduler executed by system user [duplicate]

I have a python script which runs via windows task scheduler, I have to launch a javaFx application jar from this python script, when I execute the python script from cmd it launches the jar, also it ...
kailashdesiti's user avatar
2 votes
2 answers
4k views

Start Python script with Task Scheduler via PowerShell

With PowerShell, I want to create a new task that starts a Python script: Setting it this way via the GUI Task Scheduler works, but in my PowerShell code below, I don't know how to specify the "...
EllipticalInitial's user avatar
0 votes
0 answers
62 views

TaskScheduler failure - should I be surprised?

Yesterday I spent several hours of my life which I'll never recover finding that, to my great surprise, W10 TaskScheduler is, apparently, crap. I had two repeating tasks, both intended to do backups ...
mike rodent's user avatar
0 votes
0 answers
41 views

Strange Task Scheduler and Python behavior

I'm looking for advice on the automated execution of a Python script by the Windows Task Scheduler. The task is very simple: sending TCP commands over a wireless network at fixed times every day to ...
Léonard Roussel's user avatar
2 votes
0 answers
766 views

Task Scheduler permission issues on Network Drive

I have a Python script that I want to run on a machine running Windows Server 2012 (in a domain environment), once a day. It copies files from one network drive to another, and logs its results to a ...
cereal killer's user avatar
0 votes
1 answer
2k views

Use Python SendKeys (or mute volume) from Scheduled Task?

I wanted to make a scheduled task which would automatically mute my computer. I found that running this on the command line worked to mute my computer: python -c "from SendKeys import playkeys; ...
ArtOfWarfare's user avatar
1 vote
5 answers
6k views

Schedule [Virtualenv Dependent] Python Script with Windows Task Scheduler

I want to schedule a Python script to start at 3AM and break at 5PM every weekday. However the problem arises when I need to start virtualenv as all the packages are install in a virtual environment. ...
ng150716's user avatar
  • 111
2 votes
1 answer
18k views

Windows scheduled tasks fail with 0x1, don't log errors

I have three Python scripts running overnight as scheduled tasks on a Windows Server 2008 VM. I can run them manually with no problems. But when I look at the Task Scheduler each morning, the first ...
bertday's user avatar
  • 359