findus
November 5, 2021, 9:50pm
1
Hi
I can’t get the cron job to work, I use cron-job . org but are geting an error when i test it.
And the cron-job.org is set up like this:
URL:
https://solarsikring.dk/invoice/invoices/cron/recur/CRON-KEY >/dev/null 2>&1
Then i just get this error: 400 Bad Request
InvoicePlane Version 1.5.11
M4rt1n
November 6, 2021, 7:07am
2
How did you set up the cronjob exactly? Did you replace CRON-KEY
with your actual CronKey?
findus
November 7, 2021, 6:44pm
3
Hi have set it up like this:
The red box on the picture is my cron-key.
M4rt1n
November 8, 2021, 5:08am
4
Please call the URL (without the >/dev/null 2>&1
part) itself in a browser and see whet happens.
findus
November 8, 2021, 9:34am
5
Then do i get: Page not found
The folders : invoices/cron/recur/ are also not pressent at the server.
Thanks for all the quick response @M4rt1n it’s very nice with help to this problem
M4rt1n
November 8, 2021, 6:34pm
6
This folder does not exist for all. It is a virtual folder/URL. If your setup is configurated correct it will work. I see you are on a Windows machine which is not the recommended machine/OS. Please try it on a linux or try to provide us with more infos about what exactly you are running this on?
findus
November 8, 2021, 7:01pm
7
It’s on a Linux server
Apache webserver 2.4.51
PHP-version 7.4
InvoicePlane is installed with Softaculous app installer inside cPanel.
Is there a way i can check if it’s not installed correct?
M4rt1n
November 9, 2021, 7:25am
8
Please dont do this. There is an official way in the DOCS and an official download site . Please follow them and reinstall it manually and report back if it works.
findus
November 9, 2021, 9:02am
9
Hi
I have now installed it from new the official way.
Now is the url:
https://solarsikring.dk/faktura/invoices/cron/recur/MYCRONKEY >/dev/null 2>&1
But unfortunately it does not work either.
Error: 400 Bad Request
M4rt1n
November 9, 2021, 9:53am
10
Have you, like I said here:
M4rt1n:
Please call the URL (without the >/dev/null 2>&1
part) itself in a browser and see whet happens.
Tried to call this URL from your browser and see what happens?
1 Like
findus
November 9, 2021, 10:54am
11
Yes then i still get: Page not found
I can provide you login information to; server,cron-job,invoiceplane if you wan’t to have a look.
findus
November 9, 2021, 7:29pm
12
Thanks for the help @M4rt1n you are amazing.
I give you a beer if you come to Denmark.
1 Like
system
Closed
November 23, 2021, 7:29pm
13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.