views:

1306

answers:

5

Hi, I have a script which checking something on my pc every 5 min and I dont want python to show on my tasktray

is there any way to make python run in the background and force him not to show in my task tray ?

thanks

im using windows by the way

+1  A: 

cron it on linux; schedule it on windows [control panel > scheduled tasks > Add scheduled task]

MahdeTo
+2  A: 

Look for Schedule Tasks in the control panel.

David Berger
at will pop up my script every X time (or it does'nt ?)I thought about at, but im looking for another waythanks
+4  A: 

If you run a console script using pythonw.exe, it will neither display a window nor appear in the task bar. For example, I use the following command to launch ntlmaps on startup:

C:\BenBlank\Python2.6\pythonw.exe scripts/ntlmaps

Be aware, however, that there is no way to interact with the script, nor to terminate it save via the Task Manager.

Ben Blank
A: 

Just another option you have:

You can create a shortcut to your Python script, then right-click the shortcut --> Properties --> Shortcut tab

There is a drop-down box under the Run option which lets you run the command minimized.

jcoon
A: 

You could run it as a service. See here

dugres