I set up a cron job in a Compute Engine instance in Google Cloud.
Suppose it runs every morning at 7:47 am. But every time I check if the file is executed at 7:48 it doesn’t work.
The code of helloworld.sh file is here
echo "helloworld" + "$(date)" > helloworld.txt
I have set root as root and root as the cron job. Any ideas?