Đã hoàn thành

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]”

Kĩ năng: Java, Javascript, PHP

Xem nhiều hơn: 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

Về Bên Thuê:
( 2 nhận xét ) Bibra Lake, Australia

ID dự án: #19355691

Được trao cho:

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 Thêm

$250 AUD trong 1 ngày
(43 Đánh Giá)
6.1

36 freelancer đang chào giá trung bình $452 cho công việc này

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 Thêm

$555 AUD trong 10 ngày
(226 Nhận xét)
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 Thêm

$555 AUD trong 3 ngày
(102 Nhận xét)
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 trong 2 ngày
(185 Nhận xét)
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 trong 2 ngày
(322 Nhận xét)
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 Thêm

$555 AUD trong 10 ngày
(18 Nhận xét)
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, Thêm

$555 AUD trong 10 ngày
(67 Nhận xét)
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 Thêm

$555 AUD trong 10 ngày
(127 Nhận xét)
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 trong 10 ngày
(35 Nhận xét)
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 Thêm

$500 AUD trong 1 ngày
(126 Nhận xét)
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 Thêm

$555 AUD trong 10 ngày
(44 Nhận xét)
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 Thêm

$555 AUD trong 6 ngày
(149 Nhận xét)
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 Thêm

$555 AUD trong 3 ngày
(22 Nhận xét)
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 trong 2 ngày
(116 Nhận xét)
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 trong 2 ngày
(25 Nhận xét)
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 Thêm

$500 AUD trong 10 ngày
(52 Nhận xét)
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 Thêm

$300 AUD trong 10 ngày
(14 Nhận xét)
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 Thêm

$390 AUD trong 10 ngày
(33 Nhận xét)
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 Thêm

$250 AUD trong 10 ngày
(38 Nhận xét)
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 Thêm

$600 AUD trong 10 ngày
(6 Nhận xét)
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 Thêm

$250 AUD trong 3 ngày
(26 Nhận xét)
4.6