build next package from a scheduled task