How to start kroner

How to start kroner

Digital Hits: 97

Conventional component for execution of commands according to the schedule in UNIX-LIKE operating systems is cron. Usually the crond daemon starts at start of a system. However for the different reasons of it can not occur. It is possible to start kroner as manually, and having configured its automatic loading.

It is required to you

Instruction

1. Begin a session with the rights of the superuser. If the graphic cover is loaded, start the program of terminal emulation and begin root session, having executed the su command. Or pass into one of text consoles, having at the same time keyed Alt, Ctrl and F1-F12 and enter under the login root.

2. Check a status of the crond daemon. Execute a command: service crond statusesli the message like crond is running was displayed, kroner it is started, and it is possible to start its configuring or adding of tasks. If this message of a type of crond is stopped, service it is stopped, pass to the fifth step for its start. If the inscription service was displayed: crond: Unrecognized service, kroner it is necessary to install.

3. Install any implementation of cron from an available source (a repository on a disk with the OS distribution kit, online repositories of the developer of a distribution kit, etc.). Use the managers of packages installed in a system like apt-get, rpm, etc. You can also load the source code of suitable cron and bring together him on the machine.

4. Configure cron if it is necessary. Edit files/etc/crontab,/etc/cron.allow,/etc/cron.deny. About an information representation format in them it is possible to read in man or info of documentation. If it is necessary (it was not carried out at the cron installation), place the initializing script in a directory/etc/rc.d/init.d. Create references to it with the necessary names in directories of scripts for each level of loading (normally it is directories/etc/rc.d/rc1.d-/etc/rc.d/rc6.d).

5. Start kroner. Execute a command: service crond startbudet is displayed the status message, demonstrating success or failure of operation.

6. If it is necessary, create the cron tasks for one or several users. Look through information on work of the crontab utility, having executed a command: crontab - helpsozdayte the file of the cron tasks also install it a view command: crontab - u anyuser filepathzdes anyuser - a user name, and filepath - path to the file of tasks. Or use the crontab command with parameter - e: crontab - u anyuser - ezapustitsya the text editor where it will be possible to edit the list of tasks.

Author: «MirrorInfo» Dream Team

Print