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!

Engineero
  • 12,340
  • 5
  • 53
  • 75
Timm
  • 5
  • 2
  • Any error messages? cron usually mails them, so run `mail` as the user they run as. – Klaus D. Mar 23 '17 at 09: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. – Nathan McCoy Mar 23 '17 at 09:32

1 Answers1

1

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

nick_gabpe
  • 5,113
  • 5
  • 29
  • 38