Linux Scheduled Tasks (ii)

Source: Internet
Author: User

Authorization for Scheduled Tasks

1.at Task/etc/at.allow/etc/at.deny

2.crontab Task/etc/cron.allow/etc/cron.deny

Note: If the Allow file exists, the user in enable can use a scheduled task that does not exist to find the Deny file, and the user in the Deny file cannot use the scheduled task "

Note: If both allow and deny files do not exist, it means that only the root user can use the

Remediation of Scheduled Tasks

Anacron Service Delay Remediation

If scheduled task execution fails

[Email protected] ~]# vim/etc/Anacrontab #anacron config file #/etc/anacrontab:configurationfile  foranacron# See Anacron (8) and Anacrontab (5) fordetails. SHELL=/bin/SHPATH=/sbin:/bin:/usr/sbin:/usr/Binmailto=Root1        $Cron.daily run-parts/etc/cron.daily # booting 65 minutes will perform daily's scheduled tasks, as follows 7        -Cron.weekly run-parts/etc/cron.weekly -       theCron.monthly run-parts/etc/cron.monthly

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.