Skip to content

Simple Linux Crontab, to delete x time older files from a folder via shell script

Notifications You must be signed in to change notification settings

heykarthikwithu/crontab-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

crontab-poc

Simple Linux Crontab, to delete x time older files from a folder via shell scripts.

Run the cron for cleaning backups, current "clean-files-cron" is configured to run 24 hours once and 30 days older files to delete.

$ crontab clean-files-cron

List the cron jobs running

$ crontab -l

Remove the running cron jobs

$ crontab -r

$ tail /tmp/cron-stdout.log

$ tail /tmp/cron-stderr.log

About

Simple Linux Crontab, to delete x time older files from a folder via shell script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages