Site icon Learning & Doing

Membuat auto move Junk email to Inbox

-Buat file misal mv.sh

nano mv.sh

#!/bin/bash
mv /home/tviexp/mail/yuby123.ml/test/.Junk/cur/* /home/tviexp/mail/yuby123.ml/test/cur/

-permission

chmod a+x  mv.sh

-setting cron

* * * * * /home/mv.sh

 

Exit mobile version