{"id":12382,"date":"2024-07-21T14:19:03","date_gmt":"2024-07-21T21:19:03","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=12382"},"modified":"2024-07-21T14:19:03","modified_gmt":"2024-07-21T21:19:03","slug":"scheduled-restarts-feature","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/scheduled-restarts-feature\/","title":{"rendered":"AlwaysUp Feature Spotlight: Scheduled Restarts"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/alwaysup-scheduled-restarts.webp\" style=\"margin-bottom:20px;\" title=\"AlwaysUp Feature Spotlight: Scheduled Restarts\" alt=\"AlwaysUp Feature Spotlight: Scheduled Restarts\" border=\"0\" width=\"520\" height=\"265\" \/><\/div>\n<div id=\"blog-toc-container\" style=\"margin-top:20px;\">\n<ul>\n<li><a href=\"#overview\">What is a scheduled restart and how can it help me?<\/a><\/li>\n<li><a href=\"#how-to-use\">How do I make AlwaysUp restart my application at a regular time?<\/a><\/li>\n<li><a href=\"#examples\">Can you show me a few examples?<\/a><\/li>\n<li><a href=\"#tips\">What are your best tips for scheduling a restart?<\/a><\/li>\n<\/ul>\n<\/div>\n<p><a name=\"overview\"><\/a><\/p>\n<h2 class=\"blog-caption\">What is a scheduled restart and how can it help me?<\/h2>\n<p>We designed AlwaysUp to run your important programs 24\/7, 365 days a year.<\/p>\n<p>However, few Windows applications are built to run continuously for days and weeks. Sure, they start out great at first but soon enough they use up all your RAM, bog down the CPU, stop responding to network requests, or misbehave in some other way. Eventually, they break down.<\/p>\n<p>If you&#8217;re lucky, that deterioration takes a long time. Indeed, you probably won&#8217;t even notice a slow decline if you routinely close the program before it becomes unusable.<\/p>\n<p>But <a href=\"https:\/\/en.wikipedia.org\/wiki\/Memory_leak\" target=\"_blank\" rel=\"noopener\">memory leaks<\/a> and other imperfections eventually come to the forefront when you leave some programs running for a long time.<\/p>\n<h3>Regularly restart your program, to keep it &#8220;fresh&#8221;<\/h3>\n<p>The solution for a leaky program is to restart it every now and then. If you don&#8217;t give it a chance to run for too long, it won&#8217;t have time to deteriorate and fail.<\/p>\n<hr class=\"blog-section\">\n<p><a name=\"how-to-use\"><\/a><\/p>\n<h2 class=\"blog-caption\">How do I make AlwaysUp restart my application at a regular time?<\/h2>\n<p>To make AlwaysUp restart your application periodically, you have to:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>Configure AlwaysUp to stop your program at the desired time, and<\/p>\n<\/li>\n<li>\n<p>Tell AlwaysUp to restart the application whenever it stops.<\/p>\n<\/li>\n<\/ol>\n<p>Here&#8217;s how to do that.<\/p>\n<h3>Step #1: Configure AlwaysUp to stop your program at the desired time<\/h3>\n<p>To stop your application on a schedule, edit your application in AlwaysUp and switch to the <b>Monitor<\/b> tab. From there, check the <b>Every<\/b> box to enable the &#8220;scheduled stop&#8221; functionality:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/alwasyup-set-scheduled-stop.png\" class=\"zoomPopup\" title=\"Setup a scheduled stop\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/alwasyup-set-scheduled-stop.png\" title=\"Setup a scheduled stop (click to enlarge)\" alt=\"Setup a scheduled stop\" border=\"0\" \/><\/a><\/div>\n<p>If you expand the <b>Day<\/b> drop-down, you&#8217;ll see that AlwaysUp can stop and restart your program at different intervals. That includes:<\/p>\n<ul style=\"margin-bottom:24px\">\n<li>\n<p>Multiple times per day &mdash; every 1, 2, 4, 6, 8 or 12 hours;<\/p>\n<\/li>\n<li>\n<p>Once every day;<\/p>\n<\/li>\n<li>\n<p>Once per week, on the day of your choice.<\/p>\n<\/li>\n<\/ul>\n<div align=\"center\"><a href=\"\/blog\/images\/scheduled-stop-periods.png\" class=\"zoomPopup\" title=\"Choose when to stop your app\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/scheduled-stop-periods.png\" title=\"Choose when to stop your app (click to enlarge)\" alt=\"Choose when to stop your app\" border=\"0\" \/><\/a><\/div>\n<p><b>Choose the period<\/b> that works for your situation. From what we have seen, many customers favor once per week, with Sunday being the most popular day.<\/p>\n<p>After selecting the period, you should <b>set the time<\/b> you want AlwaysUp to stop your application. Be sure to pick a time that minimizes disruption for anyone using your application.<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/scheduled-stop-time.png\" class=\"zoomPopup\" title=\"Set the time\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/scheduled-stop-time.png\" title=\"Set the time (click to enlarge)\" alt=\"Set the time\" border=\"1\" \/><\/a><\/div>\n<p>Note that for hourly periods, the time is the first time to recycle your application. For example, if you choose to restart every 2 hours and you set the time to 5:00 PM, the first restart will take place at 5 PM, the second at 7 PM and the third at 9 PM. And AlwaysUp will continue that cadence until it&#8217;s interrupted.<\/p>\n<p>Next, you can tell AlwaysUp to avoid restarting if your program is busy or someone is using the computer. Just check the <b>But only if the following conditions are met<\/b> box, choose your metrics and define your thresholds:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/setup-scheduled-stop-conditions.png\" class=\"zoomPopup\" title=\"Set conditions for your scheduled stop\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/setup-scheduled-stop-conditions.png\" title=\"Set conditions for your scheduled stop (click to enlarge)\" alt=\"Set conditions for your scheduled stop\" border=\"0\" \/><\/a><\/div>\n<p>And finally, check the <b>Reboot the computer<\/b> option if you want AlwaysUp to restart the PC. Sometimes that&#8217;s necessary if the operating system becomes sluggish or unresponsive over time.<\/p>\n<h3>Step #2: Tell AlwaysUp to restart the application whenever it stops<\/h3>\n<p>By default, AlwaysUp will restart your application immediately after it stops. Because of that, you may not have to make any changes here.<\/p>\n<p>You can find the setting on the <b>Restart<\/b> tab:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/restart-your-app-immediately-when-it-stops.png\" class=\"zoomPopup\" title=\"Restart your app when it stops\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/restart-your-app-immediately-when-it-stops.png\" title=\"Restart your app when it stops (click to enlarge)\" alt=\"Restart your app when it stops\" border=\"0\" \/><\/a><\/div>\n<p>Once you&#8217;ve checked the box at the top, you&#8217;re good to go. <b>If it isn&#8217;t checked, AlwaysUp will not revive your application after the stop you configured in step 1.<\/b><\/p>\n<hr class=\"blog-section\">\n<p><a name=\"examples\"><\/a><\/p>\n<h2 class=\"blog-caption\">Can you show me a few examples?<\/h2>\n<p>Sure!<\/p>\n<h3>Example #1: Restart every Sunday at 3 AM<\/h3>\n<p>Here&#8217;s what it looks like to stop your application once per week, early on Sundays:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/scheduled-stop-sunday-mornings-example.png\" class=\"zoomPopup\" title=\"Stop\/restart your app every Sunday morning\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/scheduled-stop-sunday-mornings-example.png\" title=\"Stop\/restart your app every Sunday morning (click to enlarge)\" alt=\"Stop\/restart your app every Sunday morning\" border=\"0\" \/><\/a><\/div>\n<h3>Example #2: Restart hourly starting at midnight<\/h3>\n<p>If you&#8217;re running an unstable program, please accept our sympathies! <\/p>\n<p>In that unfortunate situation, you can have AlwaysUp reset the buggy app every hour, at the top of the hour, like this:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/scheduled-stop-hourly-example.png\" class=\"zoomPopup\" title=\"Stop\/restart your app every hour\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/scheduled-stop-hourly-example.png\" title=\"Stop\/restart your app every hour (click to enlarge)\" alt=\"Stop\/restart your app every hour\" border=\"0\" \/><\/a><\/div>\n<h3>Example #3: Reboot your computer daily at 1 AM<\/h3>\n<p>If restarting your application isn&#8217;t enough, you can setup an off-hours reboot like this:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/scheduled-reboot-1am-example.png\" class=\"zoomPopup\" title=\"Reboot your computer every night at 1 AM\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/scheduled-reboot-1am-example.png\" title=\"Reboot your computer every night at 1 AM (click to enlarge)\" alt=\"Reboot your computer every night at 1 AM\" border=\"0\" \/><\/a><\/div>\n<hr class=\"blog-section\">\n<p><a name=\"tips\"><\/a><\/p>\n<h2 class=\"blog-caption\">What are your best tips for scheduling a restart?<\/h2>\n<h3>Tip #1: Choose a &#8220;quiet&#8221; time to restart your application<\/h3>\n<p>Stopping and starting your application can be disruptive. What if someone is using the software at the time?<\/p>\n<p>To reduce the chance of interruption, please stop your application at a time when no one is likely to be using it. At a minimum, try to avoid normal business hours. And if you can, confine the drama to the weekend or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Maintenance_window\" target=\"_blank\" rel=\"noopener\">maintenance window<\/a>. What time works best for you and your team?<\/p>\n<h3>Tip #2: When rebooting, only proceed if no one is logged on<\/h3>\n<p>Instead of simply restarting your application, you can choose to reboot the entire PC. But do you really want to do that if someone is logged in? That may result in frustration &mdash; and lost work.<\/p>\n<p>So if you&#8217;re going to reboot, please consider activating the <b>No one is logged on to the computer<\/b> condition:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/reboot-only-if-no-one-logged-on.png\" class=\"zoomPopup\" title=\"Reboot only if no one is logged on\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/reboot-only-if-no-one-logged-on.png\" title=\"Reboot only if no one is logged on (click to enlarge)\" alt=\"Reboot only if no one is logged on\" border=\"0\" \/><\/a><\/div>\n<hr class=\"blog-section\">\n<div style=\"margin-top:30px\" align=\"center\">\n<div class=\"cta-button-1\">\n<table role=\"presentation\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"left\">\n<tbody>\n<tr>\n<td align=\"center\"><a href=\"\/blog\/tag\/alwaysup-feature-spotlight\/\" title=\"More AlwaysUp features\"><span><nobr>More AlwaysUp features&#8230;<\/nobr><\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/customers\/versonix-cruise-reservation-system\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"AlwaysUp Helps Versonix Develop &amp; Test Their Cruise Reservation System\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/versonix-customer-spotlight-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">AlwaysUp Helps Versonix Develop &amp; Test Their Cruise Reservation System<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/avoid-shutdown-restarts\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Why does AlwaysUp Restart my Application During Windows Shutdown?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/shutdown-windows-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: Why does AlwaysUp Restart my Application During Windows Shutdown?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows\/is-auto-logon-safe\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Is it Safe to Automatically Log In to my Computer?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/login-password-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Is it Safe to Automatically Log In to my Computer?<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>What is a scheduled restart and how can it help me? How do I make AlwaysUp restart my application at a regular time? Can you show me a few examples? What are your best tips for scheduling a restart? What &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/scheduled-restarts-feature\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":12386,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,345,80,304,140],"class_list":["post-12382","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-alwaysup-feature-spotlight","tag-feature-spotlight","tag-regular-restart","tag-schedule"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/12382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=12382"}],"version-history":[{"count":16,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/12382\/revisions"}],"predecessor-version":[{"id":12613,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/12382\/revisions\/12613"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/12386"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=12382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=12382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=12382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}