-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't schedule gamadv-xtd3 with cron #18
Comments
This would seem to indicate that whatever environment the cron job runs in, there is now network access.
What user does the cron job runs as? Do you run the gam command directly of via a script?
…--
ross.scroggs@gmail.com
On Jul 25, 2019, at 1:36 AM, lucamanga ***@***.***> wrote:
Hello,
I schedule a gam claim ownership every day, but it seems that it is not working.
The log states:
==> 2019-07-25 09:48:01 Claiming ownership for: ***@***.***
ERROR: Connection error: [Errno 101] Network is unreachable
the error happens after about 45 minutes, ever time.
Doing it interactively on BASH prompt doesn't give any error.
Any idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#18?email_source=notifications&email_token=ACCTYL3QYUO5DMTT53WMEMLQBFQYDA5CNFSM4IGYHHMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBNMICQ>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACCTYLYMAGYZHKL7OUI2DBDQBFQYDANCNFSM4IGYHHMA>.
|
Can you call me on Google Hangouts? I'm in California (PDT) and am generally available from 07:30-17:30. Yuu can also send Meet invitation. |
|
What user are you logged in as when you run Gam interactively?
…On Thu, Jul 25, 2019 at 10:53 PM lucamanga ***@***.***> wrote:
This would seem to indicate that whatever environment the cron job runs
in, there is now network access. What user does the cron job runs as? Do
you run the gam command directly of via a script?
1. root
2. via a script that does multiple "gam claim ownership" NOT in
parallel, but one by one
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=ACCTYL4DGGXYXEJA43FS6E3QBKGNPA5CNFSM4IGYHHMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23SMCQ#issuecomment-515319306>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACCTYL5EMK4Z2PVM3QX33XDQBKGNPANCNFSM4IGYHHMA>
.
--
Ross Scroggs
ross.scroggs@gmail.com
|
The problem was that the CRON doesn't inherit the http_proxy environment variable set in ~/.bashrc Putting it as a row at the top of crontab solves the problem! |
Hello,
I schedule a gam claim ownership every day, but it seems that it is not working.
The log states:
the error happens after about 45 minutes, ever time.
Doing it interactively on BASH prompt doesn't give any error.
Any idea?
The text was updated successfully, but these errors were encountered: