Crontab as another user Ubuntu

Sometimes you need to run commands as another user in order to avoid permission errors, you can run a crontab as another user with the following command

sudo crontab -u USER_RUNNER -e

Just change USER_RUNNER for an existent user on your system and it will run as that user.

And by the way, if you need some assistance on how to create the different values for your cron times, and how they are defined, this is a great tool.


Working with services and daemons in Ubuntu

Another very useful thing that I manage to forget every time that I need it’s working with services and daemons in Ubuntu.

Well this matter it’s well explained in an answer in the link below

Ask Ubuntu Post