Answer by steeldriver for Write $(date) Into File Using Cron and Bash Shell...
PATH should be a list of directories to search for commands, rather than the name of a particular command, so PATH=/bin/bash: is incorrect, as you can verify by running the following in an interactive...
View ArticleAnswer by WinEunuuchs2Unix for Write $(date) Into File Using Cron and Bash...
cron can be rather $PATH oblivious at times. Many people simply prefix commands with the command's path. For the date command, locate it's path with and one of these three commands: $ which date...
View ArticleWrite $(date) Into File Using Cron and Bash Shell Script
Ubuntu 18.04 running as guest on MacOS 10.14.3. Hypervisor: VMWare Fusion 10 Objective: Every minute, append the date/time into a file Status: Script runs every minute, inserting a blank new line into...
View Article
More Pages to Explore .....