Crond script doesn't work as expected
I'm posting here because, having a long time surfing the internet I still don't have a solution to my issue.
The script does a backup of a specific directory once a day, deleting the oldest backups if they are more than 31.
The script run perfectly executed from console, but under crond it create correctly the backup but not seems to delete the in-excess backups.
I really don't understand the reason.
Thank you for helping me,
Why use "/root" for backups? And why add the date that way when you can use easier sorting with just
|All times are GMT -5. The time now is 08:37 PM.|