I've got a table which logs whether the transactions have been completed for that day. if they have, then it won't do them again, if it hasn't, it'll check if there are any to be done, then do them, then log that they've been done.
At the beginning of a month, it'll remove the log of completed...