The asynchronous task scheduler allows some operations to run asynchronously (like cron jobs). For example, this allows b2evolution to automatically update its antispam blacklist once a day, or send reminders about unread messages every so often, etc.
Scheduled jobs are processes that are queued in order to be executed asynchronously (at a later time, or at regular intervals) instead of being executed immediately. This has two advantages:
- It prevents you from waiting for longer operations to finish while you use the application (e-g: pinging remote sites after posting, sending email notifications to many users, etc.)
- It allows for automatic execution of maintenance tasks (e-g: updating the Antispam Blacklist every day, cleaning up the database at regular intervals, etc.)
For this to work, you need to properly set up the Scheduler first.
- This tab shows a list of currently scheduled jobs. Each line represents a job that is pending (waiting to be executed), currently executing (started), or has already executed: Finished, Timed out, Error.
- Warning: The following assumes you have your own Linux server with root access. Blindly following this procedure may lead to breaking your Linux setup. DO NOT do this if you don’t understand it. Use this page only as a guideline. Running the…
- This page recaps all settings possible for the various possible scheduled jobs.
- This solution isn’t as good as setting up a Linux cron job by far, but we mentioned it since cPanel is very widespread and somewhat easier to set up. So if your host uses cPanel as a web configuration interface, you can go to the "cron…
- Warning: The following assumes you have administrative access to the Windows server where b2Evolution is served from and that the Task Scheduler service is enabled. These instructions are valid for Windows Server 2000 and 2003. They will probably work…
- The Execution details panel shows details about the scheduled task as it is recorded in the scheduler log.
- This form lets you create a new Scheduled Job.
- Job details displays the information about the scheduled job as it is recorded in the queue.
- This screen displays the result of the execution of the next scheduled job in queue. This enables you test b2evolution’s internal scheduler. However this is not how the scheduler should normally run. You should normally set up a Unix cron job to…