No key from Web Cron Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Explorer
- Posts: 376
- Joined: Fri May 30, 2008 12:36 pm
- Location: Redhill
- Contact:
No key from Web Cron
Trying to set up a url based Cron Job. In scheduled tasks, Options I have set the Web Cron to 'Enabled'. According to the note when I save a key will be generated.
I have done this now a few times and no key is appearing. What am I missing?
I have done this now a few times and no key is appearing. What am I missing?
Perfection is a state of mind, not reality
www.cavespider.co.uk
www.cavespider.co.uk
- toivo
- Joomla! Master
- Posts: 14701
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: No key from Web Cron
This issue was reported last week as [4] scheduler web cron not working #37806. The Pull Request (PR) [#37868] - [4.1] Fix generate web cron key fixes it and is now Ready To Commit (RTC). Will hopefully make it to Joomla 4.1.4, scheduled to be released later today.
Toivo Talikka, Global Moderator
-
- Joomla! Explorer
- Posts: 376
- Joined: Fri May 30, 2008 12:36 pm
- Location: Redhill
- Contact:
Re: No key from Web Cron
Brilliant, I look forward to it.
Thank you for the rapid response
Thank you for the rapid response
Perfection is a state of mind, not reality
www.cavespider.co.uk
www.cavespider.co.uk
- toivo
- Joomla! Master
- Posts: 14701
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: No key from Web Cron
Cheers, we'll mark this topic as solved then.
Toivo Talikka, Global Moderator
-
- Joomla! Explorer
- Posts: 376
- Joined: Fri May 30, 2008 12:36 pm
- Location: Redhill
- Contact:
Re: No key from Web Cron
Right I have now updated to Joomla 4.1.4 and I have enabled the Web Cron and still no key. Where would I see this key if and when it is generated?
Perfection is a state of mind, not reality
www.cavespider.co.uk
www.cavespider.co.uk
- ceford
- Joomla! Guru
- Posts: 811
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: No key from Web Cron
There is an article about this feature in the Community Magazine:
https://magazine.joomla.org/all-issues/ ... -scheduler
It says:
I have looked through the code and database for any sign of a stored key - it is just a random password hash - and have not found one. Nor is there any sign of where to enter a url. Is this feature actually finished?
I confirm there is no sign of a key in 4.1.4.
https://magazine.joomla.org/all-issues/ ... -scheduler
It says:
Code: Select all
In the Task Scheduler’s options, you can choose how the tasks get triggered. Do you want them to run as specified in the tasks settings? Or, maybe it’s a task that needs to be run when someone visits a specific webpage. You can even set up a Web Cron URL with the Task ID that you want to run set as a query string (&ID=1). This means that you can run the task in question via an external trigger from a different website or app.
I confirm there is no sign of a key in 4.1.4.
- toivo
- Joomla! Master
- Posts: 14701
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: No key from Web Cron
For some reason the Pull Request (PR) [#37868] - [4.1] Fix generate web cron key did not make it to Joomla 4.1.4 - it is still Ready To Commit (RTC), which means it will be included in the next version.
If you would like to apply the patch, edit the file plugins/system/schedulerunner/schedulerunner.php.
Replace lines 377 and 378:
with
If you would like to apply the patch, edit the file plugins/system/schedulerunner/schedulerunner.php.
Replace lines 377 and 378:
Code: Select all
if ($context !== 'com_config.component'
|| ($table->name ?? '') !== 'COM_SCHEDULER')
Code: Select all
if ($context !== 'com_config.component' || $table->name !== 'com_scheduler')
Toivo Talikka, Global Moderator
- ceford
- Joomla! Guru
- Posts: 811
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: No key from Web Cron
Patch works fine and it is so much clearer when the link field is present with its associated description. I updated the Help screen to say as much.
-
- Joomla! Explorer
- Posts: 376
- Joined: Fri May 30, 2008 12:36 pm
- Location: Redhill
- Contact:
Re: No key from Web Cron
Thanks for the excellent response. I will apply the suggested patch and let you know.
Perfection is a state of mind, not reality
www.cavespider.co.uk
www.cavespider.co.uk