CRON Job and changing file name
Posted: Sun Feb 16, 2020 5:45 pm America/New_York
Ok, here is what I am doing.
1) The downloaded files (14 total) are used on an HTML webpage as map layers. 7 for chlorophyll layers and 7 for sea surface temperature layers based on US coastal regions.
2) These satellite files change daily.
3) I run CRON job to determine the daily new file names via email.
3) I then physically edit the new file name into another CRON job.
4) I then run a daily wGET/ CRON job to download the new files to my server where they are renamed to the referenced file name in the HTML.
If I can predict the file name, I can set up the CRON jobs to run automatically without the need to check my email and then redo do the file name in the WGET command.
1) The downloaded files (14 total) are used on an HTML webpage as map layers. 7 for chlorophyll layers and 7 for sea surface temperature layers based on US coastal regions.
2) These satellite files change daily.
3) I run CRON job to determine the daily new file names via email.
3) I then physically edit the new file name into another CRON job.
4) I then run a daily wGET/ CRON job to download the new files to my server where they are renamed to the referenced file name in the HTML.
If I can predict the file name, I can set up the CRON jobs to run automatically without the need to check my email and then redo do the file name in the WGET command.