<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to activate a scheduled job in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968743#M30051</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a question about whether it is possible to activate a job’s schedule via the REST API.&lt;BR /&gt;&lt;BR /&gt;The scenario is that we are migrating 500+ jobs from Viya 3.5 to Viya 4 LTS 2025.03. The jobs are created via SAS Studio and scheduled through Environment Manager. Exporting/importing job definitions and job schedules via the SAS Viya CLI works well. However, the jobs end up in Viya 4 with their schedules paused. You can manually activate a job’s schedule by going to Environment Manager &amp;gt; Jobs and Flows &amp;gt; Schedules. But since we are importing many jobs, I’m wondering if anyone has an idea on how to do this in a way other than clicking through the interface.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 13:09:56 GMT</pubDate>
    <dc:creator>Moliis</dc:creator>
    <dc:date>2025-06-11T13:09:56Z</dc:date>
    <item>
      <title>How to activate a scheduled job</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968743#M30051</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a question about whether it is possible to activate a job’s schedule via the REST API.&lt;BR /&gt;&lt;BR /&gt;The scenario is that we are migrating 500+ jobs from Viya 3.5 to Viya 4 LTS 2025.03. The jobs are created via SAS Studio and scheduled through Environment Manager. Exporting/importing job definitions and job schedules via the SAS Viya CLI works well. However, the jobs end up in Viya 4 with their schedules paused. You can manually activate a job’s schedule by going to Environment Manager &amp;gt; Jobs and Flows &amp;gt; Schedules. But since we are importing many jobs, I’m wondering if anyone has an idea on how to do this in a way other than clicking through the interface.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 13:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968743#M30051</guid>
      <dc:creator>Moliis</dc:creator>
      <dc:date>2025-06-11T13:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a scheduled job</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968806#M30054</link>
      <description>&lt;P&gt;This might do the trick?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/sasadmincdc/v_063/caljobs/schedulers-commands.htm#p1ivplwttq25ban1f8j27f0k96c2" target="_blank"&gt;SAS Help Center: Schedulers Commands&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(job schedulers resume)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 07:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968806#M30054</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-06-12T07:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a scheduled job</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968845#M30055</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/451264"&gt;@Moliis&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Hopefully, the suggestion from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;will solve the issue. I checked with development and the scheduler API is not a public API. Their recommendation was to use the UI.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 13:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968845#M30055</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2025-06-12T13:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a scheduled job</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968969#M30056</link>
      <description>&lt;P&gt;I've done some testing with&amp;nbsp; "Job scheduler resume" and it seems to activate the whole scheduler from a paused state, but individual jobs remain inactive.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 12:03:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968969#M30056</guid>
      <dc:creator>Moliis</dc:creator>
      <dc:date>2025-06-13T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a scheduled job</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968971#M30057</link>
      <description>&lt;P&gt;Ah, ok, thank you for input.&amp;nbsp;&amp;nbsp;Then it seems that the option to activate jobs outside of the interface is a feature we have to wait for&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 12:07:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968971#M30057</guid>
      <dc:creator>Moliis</dc:creator>
      <dc:date>2025-06-13T12:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a scheduled job</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968974#M30058</link>
      <description>&lt;P&gt;I've coincidentally post an remark in other post. But some users which much schedule jobs have no access to an CLI and must use an api. But SAS is at the moment this not making this officially possible since the api is not documented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the CLI uses an api it's&amp;nbsp; and microservice are at the core of Viya 4 it's somewhat curious SAS does not support this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Making use of the UI instead of CLI is not a data-driven solution,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an specific reason for this ?&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 12:38:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-activate-a-scheduled-job/m-p/968974#M30058</guid>
      <dc:creator>MAGDN</dc:creator>
      <dc:date>2025-06-13T12:38:59Z</dc:date>
    </item>
  </channel>
</rss>

