{"id":134,"date":"2012-10-03T20:09:52","date_gmt":"2012-10-03T18:09:52","guid":{"rendered":"http:\/\/blog.cloud-client.info\/2012\/10\/03\/tip-running-a-scheduled-job-on-an-igel-universal-desktop-lx-os-without-a-management-server\/"},"modified":"2012-10-05T14:29:18","modified_gmt":"2012-10-05T12:29:18","slug":"tip-running-a-scheduled-job-on-an-igel-universal-desktop-lx-os-without-a-management-server","status":"publish","type":"post","link":"https:\/\/blog.cloud-client.info\/?p=134","title":{"rendered":"Tip: Running a scheduled Job on an IGEL Universal Desktop LX \/ OS based client without a management server"},"content":{"rendered":"<div class=\"f1b57b4156f3c43e8a7d72dffc4b2e52\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-5449811010861855\";\r\n\/* blog.cloud-client.info 2 *\/\r\ngoogle_ad_slot = \"6689524735\";\r\ngoogle_ad_width = 468;\r\ngoogle_ad_height = 60;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>Hi,<br \/>\nthe most users doesn&#8217;t know this hidden feature&#8230; But if you want to perfom a scheduled task for an device like a system shutdown you need to setup several jobs\u00a0in the Universal Management Suite server if dealing with different time zones also if no Management server is available (infrastructure to small or UMS not reachable) you maybe want to be able to run scheduled jobs too.<\/p>\n<p>So how can you accomplish a task like this, first of all you need to get in touch with some IGEL LX\/OS commands; i recommend to check out this small whitepaper: <a href=\"http:\/\/www.cloud-client.info\/whitepaper\/WhitepaperIGELLXOSquickcommandreference.pdf\">http:\/\/www.cloud-client.info\/whitepaper\/WhitepaperIGELLXOSquickcommandreference.pdf<\/a><\/p>\n<p>Now create a new profile and call it &#8220;System shutdown at 7pm without UMS&#8221; or something similar, if you want to configure this local at the client you just have to open the IGEL Setup. This was tested with firmware Version 4.10.100 but i can&#8217;t guarentee that IGEL will keep this feature for the future.<\/p>\n<p>Browse to System-&gt;Registry-&gt;System-&gt;Cron<\/p>\n<p>To enable cron in general set enable_cron to enabled, now select cron% and click on add instance.<br \/>\nExpand the new instance cron0 and enter the command you want to execute, for a shutdown two ways are available:<\/p>\n<p>1) With User interaction: user_shutdown<br \/>\n2) Without User interaction: user_shutdown -f<\/p>\n<p>Enter one of these commands for your test.<\/p>\n<p>Now set the excution time, use this as sample:<\/p>\n<p><span class=\"pln\">day of week <\/span><span class=\"pun\">(<\/span><span class=\"lit\">0<\/span><span class=\"pln\"> <\/span><span class=\"pun\">&#8211;<\/span><span class=\"pln\"> <\/span><span class=\"lit\">6<\/span><span class=\"pun\">)<\/span><span class=\"pln\"> <\/span><span class=\"pun\">(<\/span><span class=\"lit\">0<\/span><span class=\"pln\"> <\/span><span class=\"kwd\">is<\/span><span class=\"pln\"> <\/span><span class=\"typ\">Sunday<\/span><span class=\"pun\">)<\/span><span class=\"pln\"><br \/>\n<\/span><span class=\"pln\">month <\/span><span class=\"pun\">(<\/span><span class=\"lit\">1<\/span><span class=\"pln\"> <\/span><span class=\"pun\">&#8211;<\/span><span class=\"pln\"> <\/span><span class=\"lit\">12<\/span><span class=\"pun\">)<\/span><span class=\"pln\"><br \/>\n<\/span><span class=\"pln\">day of month <\/span><span class=\"pun\">(<\/span><span class=\"lit\">1<\/span><span class=\"pln\"> <\/span><span class=\"pun\">&#8211;<\/span><span class=\"pln\"> <\/span><span class=\"lit\">31<\/span><span class=\"pun\">)<\/span><span class=\"pln\"><br \/>\n<\/span><span class=\"pln\">hour <\/span><span class=\"pun\">(<\/span><span class=\"lit\">0<\/span><span class=\"pln\"> <\/span><span class=\"pun\">&#8211;<\/span><span class=\"pln\"> <\/span><span class=\"lit\">23<\/span><span class=\"pun\">)<\/span><span class=\"pln\"><br \/>\n<\/span><span class=\"pln\">min <\/span><span class=\"pun\">(<\/span><span class=\"lit\">0<\/span><span class=\"pln\"> <\/span><span class=\"pun\">&#8211;<\/span><span class=\"pln\"> <\/span><span class=\"lit\">59<\/span><span class=\"pun\">)<br \/>\n<\/span><\/p>\n<p><span class=\"pun\">You can use an asterisk (<strong class=\"bbc\">*<\/strong>) in any category to mean for every item, such as every day or every month.<\/span><span class=\"pun\">You can use commas (<strong class=\"bbc\">,<\/strong>) in any category to specify multiple values.<\/span><span class=\"pun\"><span class=\"pun\">So set the time you wa<\/span><span class=\"pun\">nt to execute the job and run a test&#8230; It&#8217;s a very\u00a0useful tool but\u00a0you should handle it very serious!<\/span><\/span><\/p>\n<p><span class=\"pun\"><span class=\"pun\"><\/span><\/span><span class=\"pun\"><span class=\"pun\">Cheers<br \/>\nMichael<\/span><\/span><\/p>\n<p><span class=\"pun\"><span class=\"pun\"><\/span><\/span><span class=\"pun\"><span class=\"pun\">P.S.: Never use the update command in this way, it performs always a basic update and reduce the life time for the client memory.<\/span><\/span><\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi, the most users doesn&#8217;t know this hidden feature&#8230; But if you want to perfom a scheduled task for an device like a system shutdown you need to setup several jobs\u00a0in the Universal Management Suite server if dealing with different time zones also if no Management server is available (infrastructure to small or UMS not [&hellip;]<\/p>\n","protected":false},"author":1423,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[15],"tags":[],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-udlsos"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3AZQ3-2a","_links":{"self":[{"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=\/wp\/v2\/users\/1423"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=134"}],"version-history":[{"count":0,"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=\/wp\/v2\/posts\/134\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cloud-client.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}