What version of LDMS are you running?
In the Scheduled Task that you created go to Agent Settings and in the right window select Distribution and patch and the click Configure and in Policy Sync schedule select When User Logs in and in the Logged Off user options choose Run at next logon.
Just a quick addition to Joe's post.
The 'When User Logs On' doesn't apply to the task it is a setting that only applies if this is the Agent Setting applied to the client itself as it controls when the client checks for available tasks. If you plan to have user targeted distributions then it makes sense to have the agent setting you deploy with your agents to have this When User Logs In option checked so it will do that.
MarXtar Ltd/MarXtar Corporation
LANDESK One Development Partner
Try MarXtar State Management for LANDESK to Better Understand and Manage your Assets