You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2021. It is now read-only.
We had a task to Create a docker file with ubuntu image
Create a print.sh file which has code to print date and time
Write a cron file named "hello-cron" which includes the print.sh to run for every 1 min.
The docker image should have a CRON job to print date and time every 1 min
We created a print.sh file via vi command and in it given as
#!/bin/sh -l
time=$(date)
echo "::set-output name=time::$time"
After which we had executed -
chmod +x print.sh
then tried as -
* * * * * /home/scrapbook/tutorial
Not sure where we went wrong, please guide us.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We had a task to Create a docker file with ubuntu image
Create a print.sh file which has code to print date and time
Write a cron file named "hello-cron" which includes the print.sh to run for every 1 min.
The docker image should have a CRON job to print date and time every 1 min
We created a print.sh file via vi command and in it given as
then tried as -
* * * * * /home/scrapbook/tutorial
Not sure where we went wrong, please guide us.
The text was updated successfully, but these errors were encountered: