Small fix

Fix main function not executed when tomorrow's post not published.