What is Cron's work?

Cron Job is an automated program developed for Unix and Linux systems. Allows the user to perform several commands at a certain time at a The exact date. The Cron task is an important tool that can be used for anything since the scripts and re -indexing web page to the backup for the database. Cron work can also be used as a reminder to download e -mail. The user must only set the program once to complete its role continuously. In addition, it can add new members to the web and remove those who log off the database. CRON cards are divided into six fields: minutes, hours, days, months, weekdays and commands. The Field command provides computer instructions. The Minute Field takes place from 0-59 and gives the exact minute to be made. The hour is set between 0-23, with zero representing midnight.

Days of the week runs from 0-7, with 0 and 7 presentSunday. Some older systems, including some UNIX systems, use 0 to 6 as days a week, 0 is Sunday. White spaces or cards must separate each field. Adding a list is used commas while the stars are added where the user does not want to enter the field. For example, for the above web owner from e-zin, Cron's work can be set up with an asterisk instead of the day of the week, because the 25th day of the month will not always fall on the same day.

CRON is written in a text file with a number of Cron commands that are followed by the computer. The preparation of the work of Cron as a text file also makes the need to modify the scripts. In addition, the CRON task can be set to allow some users to tune to the Cron card. Once the text is created for the Cron task, the .txt extensions, such as cron.txt follow. Then the task is uploaded and the accompanying text file command would be read as "Crontab Cron.txt" before finding the effect on the website.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?