Solved

Python : how to make a python files on service ( Windows )

Posted on 2014-10-20
10
244 Views
Last Modified: 2014-12-10
hello all

how to how to add a script python files on service ( Windows ) ?

my python files a feature that I would like turn on service and

how to start bash files on start windows

tx
0
Comment
Question by:hexo dark
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
10 Comments
 
LVL 55

Expert Comment

by:McKnife
ID: 40392008
Please re-read your question. It is not understandable and guessing is not experts' work :)
0
 
LVL 2

Author Comment

by:hexo dark
ID: 40392148
how to Getting a Python script to run in the background (as a service) on boot ?
and how to Getting a bash script to run on boot windows ?
0
 
LVL 55

Accepted Solution

by:
McKnife earned 500 total points
ID: 40392211
Ok.

Use the task scheduler. Task scheduler knows a trigger named "at startup".
For python, the script would need to be called by the python executable, so the tasks command would be python's executable and the argument would be your script.

As for bash: that is unix. If you meant to write "batch", then task scheduler is again your solution.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 2

Author Comment

by:hexo dark
ID: 40392651
I'm wrong a bash file = .bat file sorry I am accustomed to talk about the term linux
0
 
LVL 2

Author Comment

by:hexo dark
ID: 40393584
came here. He asked my friend write correct English
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40393737
Do you still need assistance? Then please say where you are stuck.
0
 
LVL 2

Author Closing Comment

by:hexo dark
ID: 40395243
Your solution is good
0
 

Expert Comment

by:s_raj93
ID: 40491806
This is not a correct solution
0
 

Expert Comment

by:s_raj93
ID: 40491811
service is different than scheduler.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40491911
s_raj93, please explain. It makes no difference clearly, because the scheduled task has the same executor as the service
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the recent demise of Windows XP support, you may be a new convert to Windows 7 or Windows 8. Or perhaps you've been on W7 or W8 for a while, but just recently acquired your first scanner for the new OS. In either case, you are likely to be very…
The Samsung SSD 840 EVO and 840 EVO mSATA have a well-known problem with a drop in read performance. I first learned about this in an interesting thread here at Experts Exchange: http://www.experts-exchange.com/Hardware/Storage/Hard_Drives/Q_2852…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question