Is there a way for Linux (CentOS6) to automatically obtain data from other sites every day using APIs from other sites?

Asked 2 years ago, Updated 2 years ago, 42 views

Everyone is working hard.

My question is

What should I do when I want to automatically retrieve data from another site from my server every day?

Should I use a script? If you need to use it

How do you write it? Where do you save it? Please tell me how to use it.

I'm sorry it's a rudimentary question.

linux api

2022-09-21 19:04

1 Answers

If you use crontab, you can create an event at a specified time and at a repeated time

I don't know what data it is, but I'll put a shell script or something that gets data from another site from the server

You run a file that you import every few minutes or hours with crontab

It doesn't matter if you store the imported data anywhere You can save it in a place like this

How to use it

http://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_%EB%B0%98%EB%B3%B5_%EC%98%88%EC%95%BD%EC%9E%91%EC%97%85_cron,_crond,_crontab

Read this article for more information


2022-09-21 19:04

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.