Linked Questions

0 votes
0 answers
994 views

Python script as systemd service not running [duplicate]

I know there have been a lot of similar questions, but for the life of me I can't figure out what's wrong! I have a script that forwards a port via ssh tunnel, and it works pretty fine, and I want to ...
Christian Rodriguez's user avatar
0 votes
1 answer
767 views

Crontab does not execute python script [duplicate]

I have a DSB18B20 temperature sensor and would like to log the readings in a csv file. I have a script templog.py that stores the readings in a file. The file starts with #!/usr/bin/python That works....
idkfa's user avatar
  • 123
0 votes
1 answer
203 views

Raspberry Cron don't work [duplicate]

Every 15 minutes, I need to run a PHP script. So I created a execute.sh file containing this line: #!/bin/sh php execute.php >> twitter.log When I run the script manually, it works. Oddly, ...
Rasmus's user avatar
  • 1
0 votes
1 answer
432 views

Accessing terminal running in background [duplicate]

I have a python script running on my rpi, which is starts from rc.local file. The script itself is working fine as it should, silently in background without opened terminal window. But in case I want ...
pav's user avatar
  • 1
5 votes
3 answers
4k views

Auto-Execute a program on power up

So, I put my Pi on a custom quadcopter. I have a program that will track an object with a cam and send out pulse widths to control my motors. Anyway, right now I have to ssh into my Pi to run my ...
nreich's user avatar
  • 108
5 votes
2 answers
7k views

How to automatically run a Python GPIO script at boot?

I am using Raspbian. I have created a Python GPIO script which is supposed to run at the time of the boot. I have tried to use @reboot in sudo crontab -e. Unfortunately, it is not working at all. I ...
Ashwin Pajankar's user avatar
5 votes
1 answer
14k views

Print output not shown when run Python script CRON

I am automatically running a simple python program from start up using cron. The pi boots / automatically logs in, displays the command line and runs the python program but the print output (updating ...
DONALD's user avatar
  • 51
1 vote
2 answers
11k views

Start python script at startup using SYSTEMD in RPI jessie

Setup: Raspberry Pi 2 Model B V1.1 Raspbian Jessie Version March 2016 Hi I am new in the RPI world, I managed to setup 2 DHT22 temperature sensors connected to GPIOs 22 and 23, 2 analog temperature ...
jmmb392's user avatar
  • 13
1 vote
3 answers
6k views

Run nodejs script at boot with rc.local or another alternative

I have a gps tracking script using node-gpsd module. When the automobile pass over a checkpoint the script plays a sound like "you are in XXXXX stop" and then waits 30 second to start tracking for the ...
Fernando Aguirre's user avatar
1 vote
1 answer
7k views

How to: run .sh script with rc.local [closed]

I have the following: server pi and client pi both running latest update version Raspbian Stretch I have a .sh script on the client pi to update the time from my server pi. When I run this manually ...
user72291's user avatar
0 votes
3 answers
7k views

Raspbian jessie - cronjob doesn`t work

I know there are aready many questions about this topic, but no answer could solve my problem. I use a Raspberry Pi B+ with the operating System Raspbian Jessie. The Raspberry is said to synchronize ...
user avatar
2 votes
2 answers
3k views

Raspberry pi starting shell script at boot not working

I've been trying to implement a custom procedure triggered by a button connected to my raspberry pi. To do that I've tried to launch a python script on boot that always listens to the button trigger. ...
Alex's user avatar
  • 23
2 votes
1 answer
3k views

Run pygame via command-line without window manager

I have had lots of trouble with running a pygame application such as the pre-installed wormy.py (or any application like lxterminal or minecraft-pi) on a Pi from the command-line. This means without ...
Ahmed Tawfik's user avatar
0 votes
2 answers
2k views

Autorun c executable on boot

I tried following the many autorun-suggestions given on different forums, but I'm still struggling with it. I've got a C code that runs on the Pi - logs temperature and sends the data to the serial ...
JJT's user avatar
  • 103
-1 votes
3 answers
1k views

continue running after disconnect

I'm running my RPi 'headless' with my laptop using wifi. The RPi is connected to the router with a LAN cable. I need to start the RPi running and leave - with my laptop. I'm currently using ...
Jim Julian's user avatar

15 30 50 per page