I have a cron-job, which is just a script, clearing directories, which accumulate files over time. Unfortunately, it is not firing. Any idea why. I have created the cron-job using cronmaker.com.
How do I know it was not fired, because it is set to fire every night, yet there are old files in it.
output of crontab -e
0 0 3 1/1 * ? * ./home/deploy/scripts/clearzip.sh
Thank you for your help.
Script contents :
#!/bin/bash rm -rf /media/attachment/zip/*.* rm -rf /home/deploy/excel/*.* rm -rf /home/deploy/pdf/*.*