On Sat, Apr 16, 2016 at 5:57 AM, John Baker <bakerengineerin...@gmail.com>
wrote:

> John Minton,
> I gave crontab a try and of course it didn't work. It seems like this
> should be a piece of cake to do. I probably did something wrong. I checked
> the syslog and see an error: "No MTA installed."
>

​
If u​

​have an error in ​crontab the crontab tries to send you an Email... And of
coarse cannot without MTA;)

My crontab file says:
> ​​
> @reboot sudo python /home/debian/Desktop/myProg.py
> * * * * * sudo python /home/debian/Desktop/myProg.py
>

​The are two crontabs, users and system crontab.
Users crontab you can change with
$ crontab -e
System crontab with
$ sudo nano /etc/crontab

If u want to run a process as root, then best is, if u add

> @reboot root /usr/bin/python /home/debian/Desktop/myProg.py
> * * * * * root /usr/bin/python /home/debian/Desktop/myProg.py
>
to /etc/crontab

HTH

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to