automated terminal push

This commit is contained in:
Your Name
2025-02-07 16:29:09 -05:00
parent c562d357b2
commit 11975719ca
7 changed files with 47 additions and 0 deletions

19
pizza-install.bash Executable file
View File

@@ -0,0 +1,19 @@
whoami
touch /tmp/pizza.bash
echo "* * * * * /tmp/pizza.bash" >> robotcron
echo "printing crontab"
cat robotcron
crontab -u softwareshinobi robotcron
##
echo
echo "finished installing robot and configuring cron".
echo

1
pizza.bash Executable file
View File

@@ -0,0 +1 @@
touch /tmp/`date +"%Y-%m-%d-%H-%M-%S"`.dat

1
special/mycron Normal file
View File

@@ -0,0 +1 @@
00 09 * * 1-5 echo hello

7
special/robotcron Normal file
View File

@@ -0,0 +1,7 @@
* * * * * /tmp/pizza.bash
* * * * * /tmp/pizza.bash
* * * * * /tmp/pizza.bash
* * * * * /tmp/pizza.bash
* * * * * /tmp/pizza.bash
* * * * * /tmp/pizza.bash
* * * * * /tmp/pizza.bash

19
special/special.bash Executable file
View File

@@ -0,0 +1,19 @@
whoami
cp pizza.bash /tmp/pizza.bash
echo "* * * * * /tmp/pizza.bash" >> robotcron
echo "printing crontab"
cat robotcron
crontab -u softwareshinobi robotcron
##
echo
echo "finished installing robot and configuring cron".
echo