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
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
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?
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.
https://DOMAIN.TLD/administrator/components/com_jdownloads/helpers/scan.php?key=SECRETOFCONFIGURATION&mode=0&test=0
ready :P ::)
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
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?
@Arno
You wroteM
Quoteaybe 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
Okay Colin.
So I have it changed in this direction in 3.9.5.