Modify the start time of cron. daily and cron. daily.

Source: Internet
Author: User
Tags cron script

Modify the start time of cron. daily and cron. daily.


To modify the file/etc/sysconfig/cron, the content to be modified is as follows:


## Type:         string## Default:      ""## At which time cron.daily should start. Default is 15 minutes after booting# the system. Example setting would be "14:00".# Due to the fact that cron script runs only every 15 minutes,# it will only run on xx:00, xx:15, xx:30, xx:45, not at the accurate time# you set.DAILY_TIME="4:06"

By default, programs in cron. daily are started from.

You can modify DAILY_TIME to the corresponding value. However, it should be noted that because cron runs every 15 minutes, it is actually cron. the daily start time is not exactly the same as the set value.



How can I change the system boot time?

What is the computer doing during the period from boot to Windows? Or, what program is executed? Those programs must be fully loaded before entering Windows. Have you ever thought that if you can delete unnecessary programs during startup, will the boot speed be accelerated? The answer is yes! To modify the settings, press start, select execute, and type win. ini. After it is enabled, you can delete the content of the following sections. Delete the content and do not delete the title! They include: [compatibility], [compatibility32], [imecompatibility], [compatibility95], [modulecompatibility], and [embedding].

How to change the linux Startup time

You have settings during linux installation! It can also be set in linux!

Sudo cp/boot/grub/menu. lst/boot/grub/menu. lst_backup
Sudo gedit/boot/grub/menu. lst
Search for this line of text

...
Timeout 3
...
Replace the following line

Timeout X_seconds

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.