This script saves world map of a minecraft server running on linux screen.
Add cron job comamnd
$ crontab -e
Add the following lines to do backups every 1:07 in the morning
7 1 * * * ~./mcbackup
This assumes that you have the mcserver in the home folder
$ ./mcrestore.sh