question

AvinashKumar-6246 avatar image
0 Votes"
AvinashKumar-6246 asked saldana-msft edited

Schedule SCCM task sequence/Application package deployment to run everyday at same time.

Hello Experts,

I have a task sequence deployed on a particular collection. I want to run the task sequence every day at a particular time (say 12:00PM), only if the task sequence failed or any new device gets added to the collection.

For example- Let suppose I have deployed the task sequence on 12th April at 9:00 AM on a collection "A" and a new device is added to the collection at 12:00 PM on the same day.

I want the task sequence to run the deployment on the next day at 9:00 AM on the new device that was added to the collection.

Please suggest, how can I achieve that?

mem-cm-generalmem-intune-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RahulJindal-2267 avatar image
1 Vote"
RahulJindal-2267 answered GaryBlok commented

Past assignments will kick off immediately on new devices. The only way you can control the schedule window is by using maintenance windows.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If I configure a maintenance window in the collection where my TS is deployed so, will it only run the TS or it will run all the deployments targeted to the machine from other collections?

0 Votes 0 ·

MWs are configured against the collections, so as long as the machine object is a member of the collection, the MW will apply. In other words, if a machine object is a member of 5 collections and there are 5 different MWs configured across these 5 collections, then all will apply to the machine object. Now when and how they apply will depend on their schedules and type. You can read all about them over here.use-maintenance-windows


1 Vote 1 ·

We have 3 collections set for deployment, On these collections, an application package is deployed which should run on - Collection 1 at 9 AM, Collection 2 at 10 AM, Collection 3 at 11 AM...so, at the time of maintenance window actual installation will happen or the machine will start syncing the policy then download the package and then run it. What I am trying to know is will the sync and download runs before the maintenance window or at the time of the maintenance window.

0 Votes 0 ·
Show more comments
Amandayou-MSFT avatar image
0 Votes"
Amandayou-MSFT answered Amandayou-MSFT commented

Hi AvinashKumar-6246,

Agree with RahulJindal, we could use maintenance windows to control the schedule window when running task sequence.

only if the task sequence failed or any new device gets added to the collection.

Besides, we could rerun the Task Sequence automatically for all the failed client, please do the following:
1.Deploy the Task Sequence to the same collection with rerun behavior "Rerun if failed previous attempt";
2.Configure the recurrence schedule for the deployment, it will keep trying to install the Task Sequence until it succeeds;

And the related screenshot could be referred to this article:
https://kb.parallels.com/en/124893
Note: This is non-official Microsoft article just for your reference.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks @Amandayou-MSFT for your advise.

0 Votes 0 ·

Hi,

Thank you very much for the update and we're glad the problem is solved now. If you have any questions in future, we warmly welcome you to post in this forum again.

Have a nice day!

Regards,
Amanda

0 Votes 0 ·