Script/Automation for zip snapshot per day and delete old ones

I’d like to add automation for :
1.Zip jpeg files inside HA/tmp folder every week
and move them to HA/archive_cam

2.Delete zip jpeg files in ha/www/cam01 older than a week

I tried doing it shell_command but i guess there are better ways doing it…