I have a simple code that prints "Hello World" out serial. When I compile it with the commands: gcc main.c -o main or gcc main.c -o -std=gnu99 main
they both compile and create an executable. When I run the executable, it works every time. However, when I put this in crontab, it works only sometimes. I also notice when it doesnt work and I log in root again, running the executable does not work anymore. crontab -e @reboot /home/root/main Why would the executable be deleted? Can crontab change the contents of the executable? -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
