add a new hook for cron to resend the order, as the admin-ajax.php need login