dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 101 forks source link

Trouble with cron? #128

Closed praveenperera closed 4 years ago

praveenperera commented 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.

praveenperera commented 4 years ago

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