Solved

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

Posted on 2014-10-20
10
243 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 54

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 54

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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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 54

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 54

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

749 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