In yawik/jobs a EntityLoader for the purge cli command is implemented, which loads all jobs that are expired a certain amount of days.
The purge command triggers an event to fetch dependent entities ( to a job entity )
SimpleImport needs a Listener for that events to report and remove the crawler items associated with an job.
An example dependency loader can be found in the yawik/Applications:
LoadDependendEntities
In
yawik/jobs
a EntityLoader for the purge cli command is implemented, which loads all jobs that are expired a certain amount of days. The purge command triggers an event to fetch dependent entities ( to a job entity )SimpleImport needs a Listener for that events to report and remove the crawler items associated with an job.
An example dependency loader can be found in the yawik/Applications: LoadDependendEntities
which is registered in config:
the purge command to delete expired jobs can be triggered with: