wp-queued-jobs icon indicating copy to clipboard operation
wp-queued-jobs copied to clipboard

A Laravel-like queue system for WordPress.

Results 2 wp-queued-jobs issues
Sort by recently updated
recently updated
newest added

use WpQueuedJobs\Jobs\Job; class BackgroundJob extends Job { public function handle() { $data = $this->data; file_put_contents('logs.txt', json_encode($data).PHP_EOL, FILE_APPEND); $res = (new WC_Product_CSV_Importer($data['file'], $data['data']))->import(); file_put_contents('logs_result.txt', json_encode($res).PHP_EOL, FILE_APPEND); } } ================other class======================= the...

Job can get duplicated in situation when queue is processing longer then interval between each WP_cron. I did a little bit of debugging and found out that the lockName for...