1. Outbreaker
  2. Pre-sale questions
  3. Monday, 26 September 2022
  4.  Subscribe via email
Hi,
Is it possible to add an alterative function for the Cron Job method?
Like triggering the script if XYZ User is logging-in or if a XYZ User from a Group is logging-in.
Accepted Answer Pending Moderation
Hello,

In general you do not want such a trigger when a user logs in because the user will have to wait for the script to finish, which could mean they need to wait a while. With RO Users this is not possible as it stands now because the script can only be run from the command line/cron job, so cannot be run from another webscript.

What would be the use case of triggering only when a user is logging in? If it runs as a cronjob you can run it as often as you like.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. Pre-sale questions
  3. # 1
Accepted Answer Pending Moderation
The problem is that i don't have access to Cron Job. Would be nice to have some kind of alternative to Cron Job.
  1. more than a month ago
  2. Pre-sale questions
  3. # 2
Accepted Answer Pending Moderation
Hello,

A webhost that does not provide a cron service, I can only :( Cron jobs are native to Linux systems, so I don't know why they would not offer that. Unfortunately there is no alternative other than rewrite the code.

Not having cron jobs also means you cannot run the Joomla cron jobs, very limiting restrictions by your host.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. Pre-sale questions
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Outbreaker
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,jpeg,zip,rar,pdf,csv,txt,tsv,xml,docx,doc,xls,xlsx,ods,tgz
• Insert • Remove Upload Files (Maximum File Size: 4 MB)
In this section you can provide your site details at here and it visible to the moderators only.