Any ordinance adopted may provide that the failure to comply with the notice of declaration of nuisance within a reasonable time or failure to proceed continuously without unnecessary delay will be punishable as set forth in the ordinance.