?
Solved

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

Posted on 2014-10-20
10
Medium Priority
?
246 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 56

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 56

Accepted Solution

by:
McKnife earned 2000 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
How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

 
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 56

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 56

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to addition…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
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…

764 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