Tagged Questions
0
votes
1answer
115 views
Does GoogleAppEngine(Python SDK) disturb GoogleAppEngine(PHP SDK)?
The new launched GoodleAppEngine(PHP Version) does not work on my computer.
Every time I type in "localhost:8080", the running server returns me a "GET / HTTP/1.1" 500".
And it give me a fatal ERROR:
...
-5
votes
1answer
85 views
ErrorType: hello() takes exactly 1 argument (0 given) [closed]
import socket
server = "xxx.xxxxxxx.xx"
channel = "#xxx"
botnick = "Free-Boot-Info"
def ping():
ircsock.send("PONG :Pong\n")
def sendmsg(chan , msg):
...
2
votes
2answers
209 views
End Python Script when running it as boot script?
I am using Debian and I have a python script that I would like to run during rc.local so that it will run on boot. I already have it working with a test file that is meant to run and terminate.
The ...
0
votes
0answers
123 views
How to run python script, between windows startup and user login??
I've been thinking about creating, my own security system on windows, and i'd like to know how can i run my script before user login in windows 7. I read that i have to create a windows service to ...
2
votes
1answer
142 views
Boot scripts on different distributions
I've made a script to register and un-register a server:
python registerTool.py start
and
python registerTool.py stop
I want to run these tools on boot and on shutdown. but is there a ...
0
votes
0answers
253 views
Use Ruby on Rails to start Python Script / Hostgator Start Python on Boot
So I've run in to a snag on one of my ideas. I have a HostGator host, and I'd like it to start a Python script on boot whenever they do maintenance and such. Unfortunetly, there's no way to add items ...
2
votes
2answers
635 views
Passing Linux boot opts to Init
I would like to pass some parameters to a customized Linux init via the boot options configured in the bootloader at boot.
I've written test init's in both Python and C. The Python version is able ...
3
votes
2answers
50 views
Dealing with bugs that only appear right after boot
I dealt with a bug today that only appeared when I ran my program right after booting my computer. The cold start exposed a race condition which triggered the bug. I managed to fix it, but it took a ...
2
votes
3answers
2k views
Get python script to run on boot up in mac
How would I get a python script to run everytime the computer boots?
0
votes
1answer
516 views
Why is the Python script unreliable when run from rc.local on first boot?
The script below works great when logged in as root and run from the
command line, but when run at first boot using /etc/rc.local in Ubuntu
10.04, it fails about 25% of the time- the system root, ...
3
votes
2answers
2k views
Using IPMI inside a python script (OpenIPMI)
I'd like to use IPMI to set a machine to PXE boot (i.e. ipmitool -I lan -U username -P password -H ipaddress chassis bootdev pxe) and then power cycle it (i.e. ipmitool -I lan -U username -P password ...
1
vote
3answers
672 views
Reboot windows machines at a certain time of day and automatically login with Python
I know how to reboot machines remotely, so that's the easy part. However, the complexity of the issue is trying to setup the following. I'd like to control machines on a network for after-hours use ...