pub fn restart<Q>(queue: Q) -> Result<(), JobError>where Q: AsRef<Path>,
Write a restart job to the given queue.