{"id":1508,"date":"2009-07-03T00:10:15","date_gmt":"2009-07-02T16:10:15","guid":{"rendered":"http:\/\/www.softwareforenterprise.us\/?p=1508"},"modified":"2022-07-20T15:46:22","modified_gmt":"2022-07-20T07:46:22","slug":"how-to-run-cron-jobs-on-windows","status":"publish","type":"post","link":"https:\/\/www.softwareforenterprise.us\/hub\/how-to-run-cron-jobs-on-windows\/","title":{"rendered":"How to run cron jobs on windows"},"content":{"rendered":"<p>For those who are familiar with the Linux and Apache web server environment, running cron jobs are a common thing. Cron is basically a scheduled job that runs automatically at a certain time or interval. <em>Image by RobotSkirts<\/em><\/p>\n<p>Most people run cron jobs to eliminate human errors by automating maintenance <a title=\"Free task &#38; team collaboration tool\" class=\"aalmanual\" target=\"_blank\"  rel=\"nofollow\"   style=\"color:#1e73be;\"href=\"https:\/\/www.softwareforenterprise.us\/hub\/recommends\/zoho-projects\/\">tasks<\/a>:<\/p>\n<ul>\n<li>Clearing error or access logs which take up disk space<\/li>\n<li>Backup up files or <a title=\"\" class=\"aalmanual\" target=\"_blank\"  rel=\"nofollow\"   style=\"color:#1e73be;\" href=\"https:\/\/1.envato.market\/q4O2bn\">databases<\/a><\/li>\n<li>Moving files based on certain conditions<\/li>\n<li>Restarting services when a certain event happens<\/li>\n<\/ul>\n<p>In the past, running cron jobs are considered to be a technical task as scripts and executable files need to be generated and tested.<\/p>\n<p>Today, many software have emerged to help automate these maintenance tasks. One such software is <a href=\"https:\/\/www.visualcron.com\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>VisualCron<\/strong><\/a> &#8211; a tool that runs commands\/programs\/tools\/utilities at a predefined time, interval or event.<!--more--><\/p>\n<p><a href=\"https:\/\/www.visualcron.com\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1574 lazyload\" title=\"visualcron\" data-src=\"https:\/\/www.softwareforenterprise.us\/hub\/wp-content\/uploads\/2009\/07\/visualcron.png\" alt=\"visualcron\" width=\"489\" height=\"104\" data-srcset=\"https:\/\/www.softwareforenterprise.us\/hub\/wp-content\/uploads\/2009\/07\/visualcron.png 489w, https:\/\/www.softwareforenterprise.us\/hub\/wp-content\/uploads\/2009\/07\/visualcron-300x64.png 300w\" data-sizes=\"(max-width: 489px) 100vw, 489px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 489px; --smush-placeholder-aspect-ratio: 489\/104;\" \/><\/a><\/p>\n<p>VisualCron is designed for Windows (client \/ server based) with the intention to simplify <a title=\"\" class=\"aalmanual\" target=\"_blank\"  rel=\"nofollow\"   style=\"color:#1e73be;\"href=\"https:\/\/www.softwareforenterprise.us\/hub\/recommends\/project-timeline\/\">scheduling<\/a> of windows tasks.<\/p>\n<p>The following are some common tasks that can be automated:<\/p>\n<ul>\n<li>Manage files, read\/write\/delete and copy files<\/li>\n<li>Transfer files via (FTP\/FTPS\/SFTP\/HTTP)<\/li>\n<li>Post\/Get information through HTTP<\/li>\n<li>Encryption\/Decryption (PGP)<\/li>\n<li>Execute SQL queries\/stored procedures<\/li>\n<li>Start\/stop processes and batch files<\/li>\n<li>Start\/stop services<\/li>\n<li>Send\/receive emails<\/li>\n<li>Execute commands on Linux through SSH<\/li>\n<li>Restart\/shutdown\/hibernate remote computers<\/li>\n<\/ul>\n<p>Some sample screenshots: (Click to enlarge)<\/p>\n<p><a href=\"https:\/\/www.softwareforenterprise.us\/hub\/wp-content\/uploads\/2009\/07\/main_window.png\"><img decoding=\"async\" class=\"size-medium wp-image-1566 alignnone lazyload\" title=\"main_window\" data-src=\"https:\/\/www.softwareforenterprise.us\/hub\/wp-content\/uploads\/2009\/07\/main_window-300x256.png\" alt=\"main_window\" width=\"300\" height=\"256\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/256;\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.softwareforenterprise.us\/hub\/wp-content\/uploads\/2009\/07\/realtime_log.png\"><img decoding=\"async\" class=\"size-medium wp-image-1567 alignnone lazyload\" title=\"realtime_log\" data-src=\"https:\/\/www.softwareforenterprise.us\/hub\/wp-content\/uploads\/2009\/07\/realtime_log-300x216.png\" alt=\"realtime_log\" width=\"300\" height=\"216\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/216;\" \/><\/a><\/p>\n<p>From my research and findings after trying out VisualCron, the tool can be generally used:<\/p>\n<ul>\n<li>As an alternative for Windows Scheduler \/ SQL Agent<\/li>\n<li>To initiate tasks when there are changes to files<\/li>\n<li>As an alternative to running lots of batch jobs<\/li>\n<li>As a remote management tool<\/li>\n<li>As a tool to run nightly build processes<\/li>\n<\/ul>\n<p>I noted that one of the satisfied VisualCron customers quoted:<\/p>\n<blockquote><p>Two hundred dollars spent, countless thousands of soft dollars saved!<\/p><\/blockquote>\n<p>I believe this tool &#8211; <a href=\"https:\/\/www.visualcron.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>VisualCron<\/strong><\/a> will be able to help many servers and pc management personnel out there. Hope it helps!<\/p>\n<p><script type=\"text\/javascript\">\nadroll_adv_id = \"2ROC2EF7DNDHLBMQYFXE3Q\";\nadroll_pix_id = \"VTAQMLJMOBG7TFYX3ARD5W\";\n(function () {\nvar oldonload = window.onload;\nwindow.onload = function(){\n   __adroll_loaded=true;\n   var scr = document.createElement(\"script\");\n   var host = ((\"https:\" == document.location.protocol) ? \"https:\/\/s.adroll.com\" : \"https:\/\/a.adroll.com\");\n   scr.setAttribute('async', 'true');\n   scr.type = \"text\/javascript\";\n   scr.src = host + \"\/j\/roundtrip.js\";\n   document.documentElement.firstChild.appendChild(scr);\n   if(oldonload){oldonload()}};\n}());\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For those who are familiar with the Linux and Apache web server environment, running cron jobs are a common thing. Cron is basically a scheduled job that runs automatically at a certain time or interval. Image by RobotSkirts Most people run cron jobs to eliminate human errors by automating maintenance tasks: Clearing error or access [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1569,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"How to run cron jobs on windows - Software for Enterprise","description":"For those who are familiar with the Linux and Apache web server environment, running cron jobs are a common thing. Cron is basically a scheduled job that runs a"},"footnotes":""},"categories":[24],"tags":[],"class_list":["post-1508","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-management"],"_links":{"self":[{"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/posts\/1508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/comments?post=1508"}],"version-history":[{"count":0,"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/posts\/1508\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/media\/1569"}],"wp:attachment":[{"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/media?parent=1508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/categories?post=1508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwareforenterprise.us\/hub\/wp-json\/wp\/v2\/tags?post=1508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}