-
Notifications
You must be signed in to change notification settings - Fork 145
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
Cron Job #553
Comments
What's the PHP command you use for the other cron jobs? That command might be wrong. Is this a shared host or your own? |
Examples |
I think you need to contact your host about that, I'm not sure why it would
be giving a permission denied. It could be the the PHP executable doesn't
have the right permissions
…On Fri, Feb 14, 2020, 4:53 PM Neva C&T ***@***.***> wrote:
Examples
/etc/webmin/virtualmin-awstats/awstats.pl mydomain.com
php-cgi -f /home/nevact/domains/mydomain.com/public_html/index.php a=CLI
ng=console/5069397886 >/dev/null 2>&1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#553?email_source=notifications&email_token=AAAYLGE7DRFADJ2NPBQV5PTRC4HFHA5CNFSM4KVPSTK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL2RO4A#issuecomment-586487664>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYLGB56R75K52L3ANYIW3RC4HFHANCNFSM4KVPSTKQ>
.
|
Ok i will contact with them tomorrow. I was trying with root user but let's see what they will say tomorrow... |
Let me know what they say. I'm guessing it's the wrong executable
…On Fri, Feb 14, 2020, 5:44 PM Neva C&T ***@***.***> wrote:
Ok i will contact with them tomorrow. I was trying with root user but
let's see what they will say tomorrow...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#553?email_source=notifications&email_token=AAAYLGFKVT3BK5UWSIG7QF3RC4NDTA5CNFSM4KVPSTK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL2WH6I#issuecomment-586507257>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYLGEIESGVWTD2VZ5V5MLRC4NDTANCNFSM4KVPSTKQ>
.
|
Ok. I talked with them and they said was my fault that i add the cron job wrong way and they fixed for me. Now cron job working well. But i still have that warning https://prnt.sc/r3gzxb so didn't disappear. |
What should the cron have looked like? Lemme look at the warning message.
Is there a storage/logs/cron.log file? Can you attach that? If it doesn't
exist it means there's a chance the cron isn't actually running
…On Mon, Feb 17, 2020, 6:09 AM Neva C&T ***@***.***> wrote:
Ok. I talked with them and they said was my fault that i add the cron job
wrong way and they fixed for me. Now cron job working well. But i still
have that warning https://prnt.sc/r3gzxb <http://url> so didn't disappear.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#553?email_source=notifications&email_token=AAAYLGBEIIBOPXJAFKJTDF3RDJV6LA5CNFSM4KVPSTK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL6AOMY#issuecomment-586942259>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYLGC3EE7BQTD7EF3XULTRDJV6LANCNFSM4KVPSTKQ>
.
|
Doesn't exist. But when i run cron job manually i see this https://prnt.sc/r3jozi |
Can you remove the > and everything after it and run it again?
… |
This is what i get https://prnt.sc/r3l3y4 |
Are there two dots at the end of the command?
… |
No. Which dots? Sorry i am not to good with cron commands. |
Run just this, without any spaces:
|
No i tried this before and now get the same In ArgvInput.php line 246: Invalid argument supplied for foreach() Content-type: text/html; charset=UTF-8` |
That's very strange, it's like extra arguments are getting added somewhere. Can you contact your host again? |
That looks like it's being run with the php-cgi executable, it needs to be run with php-cli. Can they give you the path to that? |
And try this command:
But it needs to be running with the PHP cli executable. See if the above works, though. |
It worked. |
That's ok, that output is normal. Was that with the command above? |
Sorry i am late to answer. Yes with the command above. |
Fresh install of phpvms 7 beta 3,
solved a similar issue. |
Sounds good. I have to add a note there that it's a suggested command, it's hard to detect the exact executable to use and you have to ask your host for which to specifically to use. |
When i add cron job for https://prnt.sc/r2hmw0
from webmin i get this error https://prnt.sc/r2hmbc
i add cron job with root user and still get same problem. My other cron jobs works well.
The text was updated successfully, but these errors were encountered: