- Notifications
You must be signed in to change notification settings - Fork88
Open
Labels
Description
Hi guys, I am on Arch and trying to get a cronjob running with admin privileges.
Inside my crontab files i have this line of code :
*/1 * * * * echo “Linux is Cool!” >> ~/crontab_log.txt
`
The code executes perfectly when running the job not with sudo, but fails when i use sudo.
crontab -e (runs the code)sudo crontab -e (does not run the code)In both crontab files the content is exactly identical.
What am I missing ? Is there a need to activate the job?