Delay Task at
1.at commandHow to use:
At now+5min| time
> Command
>ctrl + D
Example:
At 14:20
at> date
at>
Job 2 at Sun Oct 29 14:20:00 2017
At Now+5min
at> date
at>
Job 3 at Sun Oct 29 14:27:00 2017
At- L | ATQ # #
Learn how to create AWS LAMBDA functions This execute on a scheduled interval and much like a cron job would. In this lesson we'll create a LAMBDA function that checks for a string of text on a website to verify the website are up and operational.
Connect to one of the Linux system scheduled tasks: at commandSystem in the daily operation, often need to make some cycle of backup or inspection work. This regular cycle of work tasks, in the Linux system is implemented with Crond system services.
Cron Expressions Use formatting
Seconds
Minutes
Hours
DayOfMonth
Month
DayOfWeek
[Year]
Seconds
Part
When
One day of the month
Month
One day in the week
[Year optional]
crontab command
Use
Submit, edit, list, or drop a cron job.Grammar
crontab[-e[username]|-l[username]|-r[username]|-v[username]| File]Describe
This crontab command submits, edits, lists, or drops cron jobs. A cron job is a command that is run by a
First, the phenomenon
1. See if a process exists
Ps-ef | Grep-v ' grep ' |grep-e ' Shell/cron/bonus/cash '
www 2624 1 0 Oct24? 00:00:35/usr/local/bin/php/data1/www/htdocs/hb.e.weibo.com/v2/www/htdocs/index.php--uri=shell/cron/bonus/cash-
The purpose of the crontab command is to submit, edit, list, or remove cron jobs.Grammarcrontab [-E [UserName] |-l [USERNAME] |-r [UserName] |-v [USERNAME] | File]DescribeThe crontab command submits, edits, lists, or removes cron jobs. A cron job is
The previous two is a simple trigger (Simpletrigger), Simpletrigger can only handle simple events, if you want to be flexible to trigger the task, you need to
Crontrigger this important person.
Crontrigger is also one of the most important features
(Before resuming)
(7) automatically execute a job
1. Job ControlPause a running process or job: ^ ZResume the pause task by running the BG command in the background.Enable paused tasks or background processes to run at the frontend: FG commandView
Timing tasks are often used by our development, operations and maintenance personnel, such as Cron,job,schedule,events scheduler, etc. are designed to facilitate our repeated implementation of a task without human involvement, here I would like to
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.