Ulrich
February 8, 2023, 8:50am
1
Hi,
I try to trigger the periodic jobs in kanboard via URL but I do not figure out how to do this. The docs Cronjob Configuration - Kanboard Documentation say: “with URL rewriting enabled”.
htacces is the original from kanboard:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
What do I have to do?
alfredb
February 8, 2023, 12:40pm
2
Please explain what’s going wrong. Any errors?
Ulrich
February 8, 2023, 12:53pm
3
I type https://mMYDOMAIN/cronjob?token=WEBHOOK_TOKEN_HERE the kanboard start page is shown. So this seems to do nothing But I have a automatic action that a task moves to other column the next day.
Ulrich:
I type https://…
In the browser? Try to use curl.
Ulrich
February 8, 2023, 1:29pm
5
Tried: curl and the url. No output or response
Well, there is no output if everything goes well. Otherwise, consult the log files
If it goes well, it should actually say “Cronjob executed”
Ulrich
February 8, 2023, 2:07pm
8
No output and no error in log
did you try command line?
something like cd /var/www/app && ./cli cronjob
Are you french using Framaboard or something?
alfredb
February 8, 2023, 3:00pm
12
Hard to believe. Did you check both, error.log from apache and the Kanboard log?
alfredb
February 8, 2023, 3:06pm
13
You could also use
curl --verbose <your_url>
.
Ulrich
February 8, 2023, 3:15pm
15
Seems like authentication is missing
Location: /?controller=AuthController&action=login
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
I think its very important you give us an idea of what your server is, if you cannot command line, I think we are missing some key information.
1 Like
Ulrich
February 8, 2023, 3:16pm
17
no I do not use something like this
I’ll shut up and let Alfred help you out. Way to vague for me. But I will say, some of those “shared hosting platforms” disable crontabs.
alfredb
February 8, 2023, 3:23pm
20
This was the reason to introduce the cronjob via URL some month or years ago.
1 Like