Is there a way to delete all print jobs overnight?

I had a cron job that shut down ndps deleted all the individual printer
spool directories and then restarted ndps.

Despite no files being present in the spool directories NDPS still has a
record of the jobs waiting to print??????

Is there another index file that needs to be removed as well?