One Day at a Time

A site for solving the world's problems

Crontab

I had a crontab situation, i.e. it wouldn’t work. I was trying to run
sudo crontab -e
When I should have just used
crontab -u username -e
This was for Ubuntu 16.04 running on a Jetson Tx2. The command itself was to run a script at boot up, such as:
@reboot sleep 10 && /usr/bin/python /home/nvidia/myScript.py

That did the trick.

Next Post

Previous Post

© 2024 One Day at a Time

Theme by Anders Norén