Solved

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

Posted on 2014-10-20
10
236 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 53

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 53

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
 
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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 53

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 53

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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 …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now