Ubuntu script problem
Go to solution
Solved by Wadzinsky,
Ok, after literally days of searching, (even before posting this), I came across a forum that addresses my issue. Here is the solution if anyone else has this particular problem running snaps in cron.
Add the following line to the top of the root crontab
PATH=snap/bin:/usr/bin:/bin
This is apparently a bug in Ubuntu 18.04 that may have been patched in later versions where the path to snap was not included in crontab. Adding this line will allow crontab to run snaps now. This has completely solved my issue and now my bash script runs flawlessly in crontab
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now