0

So i created a script that can send the temperature measures to database (easyPHP) and it works manually when i enter it in Putty (i use a RPi) but id doesn't work with cron (it's not sending any measures to database) , i'd like to receive the measures every 10 minutes, so i edited crontab -e (with root and pi account) to add the following:

10 * * * * /home/pi/1ft_www.py

Thank's you for help!

2
  • Any error messages? cron usually mails them, so run mail as the user they run as. Commented Mar 23, 2017 at 9:26
  • malformed cron line, see @nick_gabpe 's answer. You are saying you want to run the script at the 10th minute, every hour, everyday. Use */10 instead for interval based jobs. Commented Mar 23, 2017 at 9:32

1 Answer 1

1

Every 10 minutes */10 * * * * /home/pi/1ft_www.py

Sign up to request clarification or add additional context in comments.

1 Comment

Ok; thank's you, hope it'll work now.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.