automated terminal push

This commit is contained in:
Your Name
2025-02-12 14:54:45 -05:00
parent c8c26e3fc9
commit 8b91508f3b
7 changed files with 189 additions and 177 deletions

View File

@@ -32,26 +32,3 @@ RUN bash installs/cron.bash
COPY provision/startup/startup.sh /startup.sh
##
####
COPY ping.script /tmp/ping.bash
RUN chmod +x /tmp/ping.bash
COPY ping2.script /tmp/ping2.bash
RUN chmod +x /tmp/ping2.bash
RUN ls -lha /tmp/
####
COPY cronfile /etc/cron.d/cronfile
# Give execution rights on the cron job
RUN chmod 0644 /etc/cron.d/cronfile
# Apply the cron job
RUN crontab -u root /etc/cron.d/cronfile