To automatically archive today's editions, use the wf_archiveToday workflow.
That workflow performs a search and return the ids of today's editions, and then it passes those ids to the wf_archive that archives all pages with the "to archive" workstate of the editions with the supplied ids.
Use is as
srv4 wf_archiveToday