change cronjob for counting rows of database to be on the 2nd day of month, to avoid a race condition