Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 1. Make bash script that fences current file
- #! /bin/bash
- CT=$(date +%s)
- echo $CT>time.txt
- wget txt http://weather.noaa.gov/pub/data/observations/metar/cycles/
- # 2. Make a cron job
- crontab -e #This will edit your cron configuration file)
- 10 * * * * /usr/bin/directoryofscript/script
- # 3. Make a MySQL database
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement