Solved

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

Posted on 2014-10-20
10
240 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
  • 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

With Windows evolving further, the built-in protective mechanisms get better and better. Still, Microsoft is not very good at introducing those to the technical community. This article is about a new bitlocker functionality that could revolutionize …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
The goal of this Micro Tutorial is to help navigate beginning users with the app store on Windows 8. It will explain exciting features how to maximize your PC through these apps. This will be demonstrated using Windows 8 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

825 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