Can someone give me an example that shows how to put Cron commands into a script? Using these commands as an example:
find /home/network/public_1 -type f -ctime -1 -exec ls -ls {} \;
find /home/network/public_2 -type f -ctime -1 -exec ls -ls {} \;
find /home/network/public_3 -type f -ctime -1 -exec ls -ls {} \;
These commands work okay when I run them separately on CPanel's Cron menu. But they do not run when I put them together in a script and then try to execute the script as a single Cron job. The script probably requires different syntax, but I have not been able to figure out how to do this.