-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCron.html
More file actions
42 lines (35 loc) · 720 Bytes
/
Copy pathCron.html
File metadata and controls
42 lines (35 loc) · 720 Bytes
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
<!DOCTYPE html>
<html>
<head>
<link rel="Stylesheet" type="text/css" href="style.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<title>Cron</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<p>
use
crontab -e
to make a new cron tab
</p>
<p>
stored in
</p>
<p>
/var/spool/cron/
</p>
<p>
For notifications and all make sure the shell script contains these 2 lines at
the start
</p>
<p>
Use sudo systemctl status cronie
to see logs on the jobs it does.
</p>
<pre>
export DISPLAY=:0
export DBUS_SESSION_BUS_ADDRESS="unix:path/run/user/1000/bus"
</pre>
</body>
</html>