Search This Blog

Bookmark and Share

Friday, October 23, 2009

Cron Job Script Calculator

This calculator requires the use of Javascript enabled and capable browsers. This is designed to assist you in generating the syntax for creating a CRON job on your UNIX, Linux or other 'NIX system. Most often, they are Internet servers. CRON is a UNIX/Linux function that will allow you to execute a command or job at a designated specific time automatically. CRON is somewhat like a system task scheduler on any operating system. All have task schedulers, some are simple to set up and use and others, like CRON are a little unfriendly. All times that are set for execution are based on the systems time clock. If used as an Internet server, that may be in a different time zone. You may want to see some of our time based calculators to assist you in determining the difference in time. You might also need to know that UNIX and other 'NIX systems use timestamping to mark and calculate time differences. Our To and From timestamping calculators may be of help to you. If you determine that you do NOT have the ability to run CRON on your 'NIX system and need to have the functionality of it, we have written a CRON emulator script called MUL8CRON that allows the same thing to happen without CRON. Contact us about it. Here are some examples of the CRON command line. Our defaults in the calculator are set so that any entered job will run every hour.

To run a program, script or job every hour, select '0' in the minute box, our default, and leave the rest blank. To run a job every night at 9:30, you would select '30' in the minute box, '21' in the hour box and leave the rest set to the asterisk defaults. (You can find more on commands here.) Once you have established the time, enter the full path to your program, script or job in the 'Execute This Path And Script' box. Click on Calculate and the resulting job command line will be displayed for you. You may cut and paste it if you like.

Article Source http://www.csgnetwork.com/crongen.html

0 comments:

Post a Comment