LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gdrive from crontab does'nt work , shell is ok from command line but failed from crontab (https://www.linuxquestions.org/questions/linux-newbie-8/gdrive-from-crontab-doesnt-work-shell-is-ok-from-command-line-but-failed-from-crontab-4175653938/)

sazdovskij 05-15-2019 06:31 AM

gdrive from crontab does'nt work , shell is ok from command line but failed from crontab
 
gdrive from crontab does'nt work , shell is ok from command line but failed from crontab

wpeckham 05-15-2019 07:08 AM

Quote:

Originally Posted by sazdovskij (Post 5995221)
gdrive from crontab does'nt work , shell is ok from command line but failed from crontab

There is nothing in your post to indicate that you intend to ask a question. Are you celebrating, just sharing, or complaining about the subject of your statement?


Assuming you are complaining, what have you tried to make your command WORK from your crontab file and what were the results?
What steps have you taken to diagnose the issue, and what did you find?
What research into issues of the same knind have you done, and what did you find?

voleg 05-20-2019 11:45 AM

Cron jobs runs in so called "sanitized" environment and with minimal PATH.
Usually, you have start your cron scripts sourcing your .bash_profile or .bashrc , what you use.

scasey 05-20-2019 12:25 PM

...or use absolute paths to all commands and files...

But, yes, if you have a question, please ask it.


All times are GMT -5. The time now is 11:50 PM.