made additional changes

This commit is contained in:
Tristan Ancelet 2023-05-20 20:22:23 +00:00
parent 9810c9caf6
commit 6628b4288a
16 changed files with 499 additions and 2 deletions

0
$WEBCRON_DB Normal file
View File

64
.bash_history Normal file
View File

@ -0,0 +1,64 @@
git config --global --add safe.directory /opt/WebCron/Site
git pull
exit
ls
git pull
cd Site/
git pull
git stash
git pull
cd ..
less Scripts/update-database.sh
crontab -e
less Scripts/update-database.sh
vim .bashrc
vim Scripts/update-database.sh
sqlite3 webcron.db
exit
sqlite3 webcron.db
./Scripts/update-database.sh
sqlite3 webcron.db
vim Scripts/update-database.sh
vim ~/.bashrc
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
ls /etc/cron*
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
vim Scripts/update-database.sh
./Scripts/update-database.sh
exit
./Scripts/update-database.sh
sqlite3
cd Scripts/
git add update-database.sh
git commit -m "Fixed issue loading files into webcron.db. Had to add \$\"...\" to the section loading the file in to ensure it didn't try loading the bash variables & functions, etc causing the script to fail"
git config --global user.name "Tristan Ancelet"
git config --global user.email "tristan.ancelet@fastwyre.com"
git config --global user.email "tristanancelet@yahoo.com"
cat ~/.ssh/id_rsa.pub
git push
git add update-database.sh
git commit -m "Fixed issue loading files into webcron.db. Had to add \$\"...\" to the section loading the file in to ensure it didn't try loading the bash variables & functions, etc causing the script to fail"
git push
cd ..
git pull
cd Site/
git pull
ls
git pull

1
.bashrc Normal file
View File

@ -0,0 +1 @@
export WEBCRON_DB=/opt/WebCron/webcron.db

5
.gitconfig Normal file
View File

@ -0,0 +1,5 @@
[safe]
directory = /opt/WebCron/Site
[user]
name = Tristan Ancelet
email = tristanancelet@yahoo.com

2
.selected_editor Normal file
View File

@ -0,0 +1,2 @@
# Generated by /usr/bin/select-editor
SELECTED_EDITOR="/usr/bin/vim.tiny"

8
.sqlite_history Normal file
View File

@ -0,0 +1,8 @@
delete from crontabs;
exit
;
.exit
.exit
.open webcron.db
select crontab_path from crontabs;
.exit

3
.ssh/authorized_keys Normal file
View File

@ -0,0 +1,3 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDRBCxj3TLk1FggYDJck2SMz7PlQN7zjmboegaTR8CBgSQaLSLhtLY4K/Pw7igvm6ayZuKEEN5ObbfPF0RRWG3hWPc3HUvCpMOZCBN+LMFz8TOQq30zE3Zi8c3HmXxP16grhDJdiILHVVOmUwEjxhwqRqRoUNuDDywu29AJsc/zwkTynDKFjHqRhfQUN8bKwDnoivJcDXoakskuJ727dILw10qU2YK5mz2o+j++zk7JtUSfO5/l8gdS40MhPULbv6fq+Ei4BAbZ7js/pG2C+jqhuOQ7mOFLMR0pXeM++FA8q2jdRmZZwdav5esG9E9hzzDy4LC5UIT8rpUqR6626umWnKkI5sCf2SeGGqWVJqtlb7RhX2QQQ/mL0PKMc+nBThcsClrdYryu3u7lqiPeg4AxVDEZvarGk24gFpJoOXVY3zQYS03PpOHoCn0w17UBl8TfRESqpmonVKTK2K9BN67RhKA0s5C6aKJab83GjGEj2dvvSUFqfMjUgUIriNUldy3oaOg5f6wh1tUICDx45YN0U8JyhywOCVInVE7Z/oia97ugelTrc3oGKyKTkoj1p7FmedlYO9xQdM12kL47wPBVuo+t1z9wXTFdTiov1AirhzP6G1x07uG62zndPqc8sVsSxzt2DNsFYYfcOBTDkBrBLMcz4VZQmSlI3uqg7VwZWQ== tristan@TheArcanium
ssh-dss AAAAB3NzaC1kc3MAAACBAIqgmAbuGNpPObAAqHR70q+vj/vMwP9Zc8G68VQG2CSjBvkgRW/azrs0Pd694eMYjqm0Cg2OX/Ck0RKvOaexCnI0ah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avDG4iuRokaEAijcm8C9s+HoQBdw5RHZcWwEadYTXKFiWbNA6bOU1n1eRkfyyXA2jKfrc
nCh07v1OyZHnyzgAk90lcRAkyIJErp7N8clKEsXPAJdrsS2cb3CoblBowrF3sR/9PKQHJQ
PO0ZWkWXQ162lZ80QU6TcTReTXK5edK4MAAADBANGRMsvTJyKWGubCN/SKsA7caqa656N7
31i+Oega0jQzASb26aHTVcb2L3b176sSlMxUD7UHOe3xoE+4deTz/I9/hxy0nm91QNb0NU
4zDUwdIXwvRER4bSeSdR0cXLLINW+oI3zUpzkrMDulj6ZOh6LC/U34lTzmRmyJIHiGuMfM
K2RPlNLzliP3gpMWNyV3rVo21otJDKNFxqIFCpc7SCKlNMOq6UmtUAd9T7yuRWSuOsbUP6
DrhpzVE+B2K/jC+QAAACJ3ZWJjcm9uQHdlYmNyb24udHJpc3RhbmFuY2VsZXQuY29tAQID
BAUGBw==
-----END OPENSSH PRIVATE KEY-----

1
.ssh/id_rsa.pub Normal file
View File

@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC5EjjvGhyrakwYNhiBkLzI0kayuPdj6tn3WRhCkfokliH6KERLdG9tcR3EGtLP0G+Svo7pj5kOGp2scg7wd4C3vpoOCYDPkicxzF0tEErTXKiuOIUq8LQU8e8VpfP+b8IondzfWp62zAzh3PsjWFUYxX+WoXeaaJr1njNZ73z4i/XGqTGP4oouZbNAsVeDB9S7nc98my2ojywcnqe9hiFxeere8hgSoxXkuAZHL2m2M2AkP8Okjp9ikxwQ4CZ+pIKysL0+DnF1sfxCXBazfBpISGiolQyzmSdvzWeNmRwK4kVexAAlHSCv4LwAzoghVhRfrwlyt7p71cdHeGDFt6rPITJVxguAweaDzsPQZmTBOMUrFgT4EBGNmk/ezEzsrj382Hm5aLuyXPmmC4pAj/OTnSs3HYp29eCkLv+sPO34SH52v4fPWKIIfrkem38LE0grQHY3Z/xCJJZ2nTnjOqrTcCgQ/qwOFkHtB19adG/QPoB3A+7U7cD+zZRHPrrAmGs= webcron@webcron.tristanancelet.com

9
.ssh/known_hosts Normal file
View File

@ -0,0 +1,9 @@
|1|MIxlbzAAZHHQrVxH8vCjECXZSLM=|7v2hqDREZzqmlWY3AfN22ABa0Xc= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFaqiKaFFE39jbRsiT5gBYm7/RP4z1NSk1ScsGmeIgbIxbXWJMDdMGyrlcOLFipzbLrFxUkvoOmDUA/r1FbwP4g=
|1|4s/mgifGCeXqpngLZF6pUtU9yAc=|8Jwi6/AI18tP32B2NOfHEF7Njvg= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNJym8RWxI3tDUfL4nrl7VXrjpom8mg9OaPVLXME5f1YAafDfwVDyDCLJP2DedDdGFKyvpOWu/EOCrqop7wzbfI=
|1|RivCPdnesTvwg//SHMYkMahiTFE=|k85nA447xkjZNLGlJ2lom+i4Jrk= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
|1|UBcLM2qFFtvYVizO3RdtFBT3LhE=|qD4BU81NfKnUzixLg74kHiKb8tU= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
|1|jXilF+pqlDBoDMNZ/vx9OAEb1Jw=|JmOrrbctpqWWM1xvivwLHZ2/WmU= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
|1|pUd6HWc3hXmamBpkkaGwGl1tijs=|hGl5Y3eoO9uGRFW48iGDYOeKVKU= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
|1|bp2YewatsnhLs/Q6CvcSc7zMmlc=|2lGCq9lu9dTIV8LhRAz8f5RaA4k= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
|1|sIKjoyivrTqAautjbw5EfHtGctE=|A9PSCqGDnlBQpEgGf9IvMu5rH7I= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
|1|bzFd+waVZYPkQIgcs0O5FlEutl8=|jvOuhMZN18KFR4Isqiiqb2AQhi4= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=

352
.viminfo Normal file
View File

@ -0,0 +1,352 @@
# This viminfo file was generated by Vim 8.1.
# You may edit it if you're careful!
# Viminfo version
|1,4
# Value of 'encoding' when this file was written
*encoding=utf-8
# hlsearch on (H) or off (h):
~h
# Command Line History (newest to oldest):
:wq
|2,0,1684613695,,"wq"
:w
|2,0,1684613644,,"w"
:q
|2,0,1684613407,,"q"
:e
|2,0,1684191841,,"e"
:WQ
|2,0,1684191529,,"WQ"
:2
|2,0,1684191507,,"2"
:43
|2,0,1684191440,,"43"
# Search String History (newest to oldest):
# Expression History (newest to oldest):
# Input Line History (newest to oldest):
# Debug Line History (newest to oldest):
# Registers:
""1 LINE 0
echo "<br>"
|3,1,1,1,1,0,1684613694,"echo \"<br>\""
"2 LINE 0
echo "Total Crontabs:$res<br>";
|3,0,2,1,1,0,1684613563,"echo \"Total Crontabs:$res<br>\";"
"3 LINE 0
$res = $db->querySingle("SELECT COUNT(*) FROM crontabs");
|3,0,3,1,1,0,1684613562,"$res = $db->querySingle(\"SELECT COUNT(*) FROM crontabs\");"
"4 LINE 0
$db = new SQLite3("../../webcron.db");
|3,0,4,1,1,0,1684613562,"$db = new SQLite3(\"../../webcron.db\");"
"5 LINE 0
exec > /opt/WebCron/logs/count-crontabs.sh.log
|3,0,5,1,1,0,1684613505,"exec > /opt/WebCron/logs/count-crontabs.sh.log"
"6 LINE 0
et -x
|3,0,6,1,1,0,1684192103,"et -x"
"7 LINE 0
"<$file")
|3,0,7,1,1,0,1684191682," \"<$file\")"
"- CHAR 0
b
|3,0,36,0,1,0,1684613485,"b"
# File marks:
'0 13 0 ~/Scripts/count-crontabs.sh
|4,48,13,0,1684613695,"~/Scripts/count-crontabs.sh"
'1 12 29 ~/Scripts/count-crontabs.sh
|4,49,12,29,1684613682,"~/Scripts/count-crontabs.sh"
'2 12 29 ~/Scripts/count-crontabs.sh
|4,50,12,29,1684613682,"~/Scripts/count-crontabs.sh"
'3 13 9 ~/Scripts/count-crontabs.sh
|4,51,13,9,1684613662,"~/Scripts/count-crontabs.sh"
'4 13 9 ~/Scripts/count-crontabs.sh
|4,52,13,9,1684613662,"~/Scripts/count-crontabs.sh"
'5 13 9 ~/Scripts/count-crontabs.sh
|4,53,13,9,1684613662,"~/Scripts/count-crontabs.sh"
'6 13 4 ~/Scripts/count-crontabs.sh
|4,54,13,4,1684613646,"~/Scripts/count-crontabs.sh"
'7 13 4 ~/Scripts/count-crontabs.sh
|4,55,13,4,1684613646,"~/Scripts/count-crontabs.sh"
'8 13 4 ~/Scripts/count-crontabs.sh
|4,56,13,4,1684613646,"~/Scripts/count-crontabs.sh"
'9 13 4 ~/Scripts/count-crontabs.sh
|4,57,13,4,1684613646,"~/Scripts/count-crontabs.sh"
# Jumplist (newest first):
-' 13 0 ~/Scripts/count-crontabs.sh
|4,39,13,0,1684613695,"~/Scripts/count-crontabs.sh"
-' 12 25 ~/Scripts/count-crontabs.sh
|4,39,12,25,1684613693,"~/Scripts/count-crontabs.sh"
-' 12 29 ~/Scripts/count-crontabs.sh
|4,39,12,29,1684613682,"~/Scripts/count-crontabs.sh"
-' 13 9 ~/Scripts/count-crontabs.sh
|4,39,13,9,1684613671,"~/Scripts/count-crontabs.sh"
-' 13 9 ~/Scripts/count-crontabs.sh
|4,39,13,9,1684613662,"~/Scripts/count-crontabs.sh"
-' 13 4 ~/Scripts/count-crontabs.sh
|4,39,13,4,1684613646,"~/Scripts/count-crontabs.sh"
-' 12 24 ~/Scripts/count-crontabs.sh
|4,39,12,24,1684613622,"~/Scripts/count-crontabs.sh"
-' 12 24 ~/Scripts/count-crontabs.sh
|4,39,12,24,1684613622,"~/Scripts/count-crontabs.sh"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613608,"~/Scripts/count-crontabs.sh"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613608,"~/Scripts/count-crontabs.sh"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613608,"~/Scripts/count-crontabs.sh"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613608,"~/Scripts/count-crontabs.sh"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613601,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 2 50 ~/Site/api/crontab_stats.php
|4,39,2,50,1684613579,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 0 ~/Site/api/crontab_stats.php
|4,39,1,0,1684613560,"~/Site/api/crontab_stats.php"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613539,"~/Scripts/count-crontabs.sh"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613539,"~/Scripts/count-crontabs.sh"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613539,"~/Scripts/count-crontabs.sh"
-' 1 6 ~/Scripts/count-crontabs.sh
|4,39,1,6,1684613539,"~/Scripts/count-crontabs.sh"
-' 1 3 ~/Scripts/count-crontabs.sh
|4,39,1,3,1684613488,"~/Scripts/count-crontabs.sh"
-' 1 3 ~/Scripts/count-crontabs.sh
|4,39,1,3,1684613488,"~/Scripts/count-crontabs.sh"
-' 1 3 ~/Scripts/count-crontabs.sh
|4,39,1,3,1684613488,"~/Scripts/count-crontabs.sh"
-' 1 3 ~/Scripts/count-crontabs.sh
|4,39,1,3,1684613488,"~/Scripts/count-crontabs.sh"
-' 1 14 ~/Scripts/count-crontabs.sh
|4,39,1,14,1684613472,"~/Scripts/count-crontabs.sh"
-' 1 14 ~/Scripts/count-crontabs.sh
|4,39,1,14,1684613472,"~/Scripts/count-crontabs.sh"
-' 1 14 ~/Scripts/count-crontabs.sh
|4,39,1,14,1684613472,"~/Scripts/count-crontabs.sh"
-' 1 14 ~/Scripts/count-crontabs.sh
|4,39,1,14,1684613472,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
-' 2 0 ~/Scripts/count-crontabs.sh
|4,39,2,0,1684613465,"~/Scripts/count-crontabs.sh"
# History of marks within files (newest to oldest):
> ~/Scripts/count-crontabs.sh
* 1684613694 0
" 13 0
^ 12 26
. 13 0
+ 1 3
+ 3 0
+ 1 6
+ 12 24
+ 13 9
+ 12 0
+ 13 0
> ~/Site/api/crontab_stats.php
* 1684613600 0
" 2 50
^ 2 51
. 2 50
+ 3 0
+ 2 50
> ~/Site/api/test.php
* 1684613448 0
" 3 47
^ 3 48
. 3 47
+ 3 47
> ~/Site/test.php
* 1684613407 0
" 1 0
> ~/Scripts/update-database.sh
* 1684192104 0
" 3 0
^ 33 22
. 3 0
+ 57 18
+ 2 0
+ 14 31
+ 57 17
+ 50 27
+ 3 25
+ 33 7
+ 11 2
+ 35 0
+ 11 0
+ 35 0
+ 33 16
+ 30 28
+ 34 0
+ 33 18
+ 3 5
+ 51 28
+ 52 36
+ 33 21
+ 3 0
> ~/.bashrc
* 1684191347 0
" 1 6
^ 1 7
. 1 6
+ 1 6

View File

@ -1,3 +1,5 @@
#!/usr/bin/bash
total_count=0
declare -a crontab_dirs=(
/etc/cron.d
@ -7,6 +9,7 @@ declare -a crontab_dirs=(
/var/spool/cron
)
echo "Crontab Statistics: <br>"
for dir in ${crontab_dirs[@]}; do
count=0;
for file in $dir/*; do

2
Site

@ -1 +1 @@
Subproject commit 5d5dd02fb0c4235c65491b5b721accbec1a423cc
Subproject commit dbc5587bb686dfdadccd5baa315535317e91a595

View File

@ -0,0 +1,6 @@
- /etc/cron.d: 4<br>
- /etc/cron.daily: 10<br>
- /etc/cron.hourly: 0<br>
- /etc/cron.weekly: 2<br>
- /var/spool/cron: 3<br>
Total: 19

Binary file not shown.