www.jdownloads.com

0 Members and 1 Guest are viewing this topic.

CronJob dont work fine
« on: 20.08.2020 20:54:55 »
Hello,

on version 3.x I was able to use a cronjob to activate the uploaded file for downloads
After updating to version 3.9 my cronJob dont work.

Now i only can activate uploaded files by using the Joomla administration / backend / components / JDownloads and click on check download area.
How can i using the feature activating download-able files by cronjobs

thank you for helping
« Last Edit: 31.08.2020 11:15:18 by ColinM »
*
Re: CronJob dont work fine
« Reply #1 on: 21.08.2020 11:40:33 »
Hi
I will check further as Cron jobs shouls still work.
Can you check that your Joomla! secret key is the same.

Also it would help if you could advise which Cron service youare using
Best wishesColin
Colin M
Re: CronJob dont work fine
« Reply #2 on: 21.08.2020 21:38:35 »
Hi, thank you for helping,

i look at my system... there was a new option... run test first, i have disabled now, but the cronjob dont work fine as the last time.
i have to activate it manually via cronjob is not possible at the moment
the same behaviour as before :-(

where should i look for the joomla secret, you want to know?

the cronjob is the service of the webhoster (all-inkl.com)

Edit:
the secret was found in the configuration.php and ist the same to the secret in the cronJob!

the URL is https://DOMAIN.TLD/administrator/components/com_jdownloads/helpers/scan.php?key=SECRETOFCONFIGURATION
it this right?
« Last Edit: 21.08.2020 21:48:54 by Mister.X »
Re: CronJob dont work fine
« Reply #3 on: 30.08.2020 23:57:16 »
hello,

i got it  ;D

you implemented a service, that display the result of the check and after that... i can click on the button the changes should be done.

now i extended the cron-job-url with "&mode=0&test=0" and it works fine.

Code: [Select]
https://DOMAIN.TLD/administrator/components/com_jdownloads/helpers/scan.php?key=SECRETOFCONFIGURATION&mode=0&test=0
ready  :P ::)
*
Re: CronJob dont work fine
« Reply #4 on: 31.08.2020 11:14:33 »
Hi
Well done  - have been tied up with the database 'challenge'.
Will ammend the documentationhttps://www.jdownloads.net/documentation-for-v3-9/faq-v3-9/automatic-publication-at-scheduled-times-cron-job

Thanks
Colin
Colin M
*
Re: CronJob dont work fine
« Reply #5 on: 31.08.2020 12:39:01 »
Hi,
it seems that I have forget the cron job.´in this case.  :-\

Maybe I should change it that the testrun is not active as default when no value is given?
Then should also the old cron jobs be still compatible.

A note about the mode variable. You can with this option select which job shall be done.

mode == 0  : do all (default setting)
mode == 1  : search only new Categories
mode == 2  : search only new Files
mode == 3  : check only existence of Categories
mode == 4  : check only existence of Files


Maybe important for the documentation Colin?
« Last Edit: 31.08.2020 18:01:25 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
*
Re: CronJob dont work fine
« Reply #6 on: 31.08.2020 18:16:36 »
@Arno
You wroteM
Quote
aybe I should change it that the testrun is not active as default when no value is in given?
Then should also the old cron jobs be still compatible.
I have ammended the documentaion to assume that both mode and test are 0
Colin
Colin M
*
Re: CronJob dont work fine
« Reply #7 on: 01.09.2020 10:17:28 »
Okay Colin.
So I have it changed in this direction in 3.9.5.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!