Closed praveenperera closed 4 years ago
Has anyone has trouble getting this to work in a cronjob. I saw some similar issues in the gdrive CLI and they were talking about the app not being able to find the auth token in the system.
Nevermind exporting the full path before running the script seems to work
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
Has anyone has trouble getting this to work in a cronjob. I saw some similar issues in the gdrive CLI and they were talking about the app not being able to find the auth token in the system.