Completed

Write a Java Script to run as a CRON JOB to Download a file

I need a simple Java script to download a file from a download site.

The script must attempt the download from a given address (which may include a redirect to the file)

If the file is downloaded successfully then copy the file to a given location and replace the old file.

If the download fails, then the script needs to try again after 10 minutes and re-attempt the download.

If after 5 attempts, it still hasn’t succeeded then it should exit.

A successful execution would look like this.

[login to view URL]

Resolving download.company.com.au... [login to view URL]

Connecting to [login to view URL] |[login to view URL] |:443... connected.

HTTP request sent, awaiting response... 302 Found

Location: http:// [login to view URL]

[following]

--2019-04-26 06:15:06-- http:// [login to view URL]

Resolving download.company.com.au... [login to view URL]

Connecting to download.company.com.au... [login to view URL]|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 6123456 (6.1M) [application/x-zip-compressed]

Saving to: “/home/123456/[login to view URL]”

Skills: Java, Javascript, PHP

See more: run javascript cron job, run node from cron, running node.js from crontab, node js scheduler, run npm in crontab, cron job npm, how to create cron job in javascript, node-cron multiple jobs, write java script code odd numbers, run cron job upload, script perl cron job directadmin, cron job copy file ftp server, html java script run exe, java script run executables, write java script agi, write java script imacro, pingback script php cron job, php script alternative cron job, cron job error file directory plesk, linux cron job copy file nas

About the Employer:
( 2 reviews ) Bibra Lake, Australia

Project ID: #19355691

Awarded to:

novepi

Hi there, The requirements are quite clear and straightforward to implement so no questions. The script will send a request to designated url and follow the redirect response then download the file. If the download More

$250 AUD in 1 day
(43 Reviews)
6.1

36 freelancers are bidding on average $452 for this job

Harvey888

Hi there. Nice to meet you. I'm a Javascript expert and FULL Time Developer. I have checked your requirements carefully. I have rich experience in Javascript, PHP, Html, CSS, JS UI design, etc. I can start work i More

$555 AUD in 10 days
(226 Reviews)
7.5
polarjin2017

I have seen the project - Write a Java Script to run as a CRON JOB to Download a file. I have been working in these fields((Java, Javascript, PHP)) for 7 yrs as a freelancer. I will never disappoint you and i will t More

$555 AUD in 3 days
(102 Reviews)
6.8
caww5

Hi No problems I ready to help you with your task I will create javascript for you with posted features which will connect and download your files into specific folder on your server

$750 AUD in 2 days
(185 Reviews)
7.1
gangabass

I can provide you a simple script that will download a file from remote sever exactly like you want. You will be able to start it from Cron or manually and it will try to download target file given number of times.

$350 AUD in 2 days
(322 Reviews)
7.1
TakaAlex

Hi. thanks for your posting. I'm very happy to have a chance of bidding your project. I have experience in development of the projects like yours If you hire me, I'll do my best for your project and finish greatly i More

$555 AUD in 10 days
(18 Reviews)
6.7
bianyunzhi95

Hi, I hope you are doing well. I found the job quite interesting, and is a perfect match to my skills. As I've completed several automation projects using python, and javascript, I found the job quite interesting, More

$555 AUD in 10 days
(67 Reviews)
6.8
CodingExpertz

Greetings, I am a full-time Independent developer having 12+ years of experience in software technologies . I have gone through your requirement bu I have doubt on the specifications ... why do you want it in Java More

$555 AUD in 10 days
(127 Reviews)
6.6
szebanred10030

Hi I'm glad to place a bid on this project. I have solid foundation of javascript knowledge. I think I can handle this project in no time. Regards.

$555 AUD in 10 days
(35 Reviews)
6.5
lightingdavid

Hello. I have good skills in "Java, Javascript, PHP". I have working for 7+ years in this field. I 'm very interest to your project. I have checked your project description carefully and i can do it. I 'll do my b More

$500 AUD in 1 day
(126 Reviews)
6.2
adampohp79

Hi. thanks for your posting. I'm very happy to have a chance of bidding your project. I have experience in development of the projects like yours If you hire me, I'll do my best for your project and finish greatly i More

$555 AUD in 10 days
(44 Reviews)
6.0
ownmyserver

Hello Friend, I have read your project requirements. We are familiar with all required technologies and we have expertise resource to start with your project. We have 4+ year experience in design and development More

$555 AUD in 6 days
(149 Reviews)
6.1
liveexperts123

Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the More

$555 AUD in 3 days
(22 Reviews)
5.7
caciocode

Hi, I am a Java developer. I can write a desktop application to run the cron job. I am ready to get started on your project

$250 AUD in 2 days
(116 Reviews)
5.9
stefkev

Hi, I can write a nodejs script that downloads a file as you described with a fail scenario feature in 5 attempts. If interested, contact me.

$750 AUD in 2 days
(25 Reviews)
5.9
shingjin

✫✫✫ Dear Hiring Manager ✫✫✫ Wish you a very good day!!! After reviewing your post, I am very interested in that due to my experience. I’d like to be considered for your project position. I am an expert Java develo More

$500 AUD in 10 days
(52 Reviews)
5.8
honeyocs803

Dear Vishnu . Nice to meet you. Cron job expert ! I'm a Nodejs expert and FULL Time Developer. I have checked your requirements carefully. I have rich experience in Javascript & AWS service, etc. I can start More

$300 AUD in 10 days
(14 Reviews)
5.0
ankitbagre2000

Hey, employer. I already have read your description carefully. I have 5+ years enough experience in website development. My major skill are HTML5, CSS3, JavaScript, JQuery, Bootstrap, MySQL etc. I am reliable fr More

$390 AUD in 10 days
(33 Reviews)
4.7
smsaurabhv

‌Hi, I have gone through your requirement to scrape lots of websites. I am EXPERT in building scraping tools /scripts. Hence, I can SURELY work on your project. I am having 4 YEARS of EXPERIENCE in developing PHP-PYTHO More

$250 AUD in 10 days
(38 Reviews)
4.8
matteus1118

Hello When I read this job description very carefully, I felt I am very good fit for this project. As an expert in Javascript,, I can build js script to download a file and from given address. Also have a lot of exp More

$600 AUD in 10 days
(6 Reviews)
4.5
nguyenban88

Hello, My name: Ban I come from: Vietnam country I have 8 years of experience in developer , I have read your request description, and can complete your project well. So look forward to talking to you more More

$250 AUD in 3 days
(26 Reviews)
4.6