Triggering events based on time, not request?
This is an open discussion with 3 replies, filed under General.
Search
You will need a page specifically for this, and a cron task to fire it.
You can protect your page using the admin page type, and supply a token when loading it with cron.
Thanks. Never dealt with cron before, but we’ll see how it goes :)
when you not want to permannet edit your crontab, or running cron every minute.
at could be a nice replacement for this. further atd atdknows batch jobs, running not bevor the timestamp given and only when load is not as high. at chrooted jail at is possible better to.
Create an account or sign in to comment.
Is it possible to trigger events based on the time not request? Events can be trigger on page load or POST request, but what about things like “Categorize this as ‘old’ 3 days from now” or “Email user 5 days after last login”?