Crontab includes sleep for more frequent scheduled tasks
Meditly ComputerSavvyMedic
It has been 0 days since the last update of this post. Some contents may be outdated. Please pay attention to screening.

在linux中使用crontab最快仅为1分钟执行一次,结合sleep使用可以实现一秒一次、一秒多次。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
* * * * * /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 1; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 2; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 3; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 4; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 5; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 6; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 7; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 8; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 9; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 10; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 11; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 12; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 13; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 14; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 15; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 16; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 17; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 18; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 19; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 20; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 21; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 22; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 23; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 24; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 25; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 26; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 27; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 28; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 29; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 30; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 31; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 32; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 33; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 34; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 35; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 36; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 37; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 38; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 39; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 40; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 41; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 42; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 43; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 44; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 45; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 46; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 47; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 48; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 49; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 50; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 51; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 52; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 53; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 54; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 55; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 56; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 57; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 58; /usr/bin/curl https://gua.luyaoguagua.top
* * * * * sleep 59; /usr/bin/curl https://gua.luyaoguagua.top
 Comments
Comment plugin failed to load
Loading comment plugin