Warning: file_put_contents(aCache/aDaily/post/golang_interview/-800-801-800-): Failed to open stream: No space left on device in /var/www/tgoop/post.php on line 50
Golang вопросы собеседований@golang_interview P.801
GOLANG_INTERVIEW Telegram 801
👣 Gocron — пет-проект по созданию простого аналога cron

git clone https://github.com/legostin/gocron
cd gocron
# ...задаём cronjob.json
go build main.go
./main


Например, чтобы запускать команду ping -c 4 google.com >> ./logs.txt каждые 15 секунд нужно написать в cronjob.json это:
{
"Tasks":[
{
"Period":15,
"Command":"ping -c 4 google.com",
"Output":"./logs.txt"
}
]
}


В общем, простой пет-проект, который поможет в изучении Go

🖥 GitHub

@golang_interview
Please open Telegram to view this post
VIEW IN TELEGRAM
👍15🔥21🌭1



tgoop.com/golang_interview/801
Create:
Last Update:

👣 Gocron — пет-проект по созданию простого аналога cron

git clone https://github.com/legostin/gocron
cd gocron
# ...задаём cronjob.json
go build main.go
./main


Например, чтобы запускать команду ping -c 4 google.com >> ./logs.txt каждые 15 секунд нужно написать в cronjob.json это:
{
"Tasks":[
{
"Period":15,
"Command":"ping -c 4 google.com",
"Output":"./logs.txt"
}
]
}


В общем, простой пет-проект, который поможет в изучении Go

🖥 GitHub

@golang_interview

BY Golang вопросы собеседований





Share with your friend now:
tgoop.com/golang_interview/801

View MORE
Open in Telegram


Telegram News

Date: |

1What is Telegram Channels? Public channels are public to the internet, regardless of whether or not they are subscribed. A public channel is displayed in search results and has a short address (link). Deputy District Judge Peter Hui sentenced computer technician Ng Man-ho on Thursday, a month after the 27-year-old, who ran a Telegram group called SUCK Channel, was found guilty of seven charges of conspiring to incite others to commit illegal acts during the 2019 extradition bill protests and subsequent months. Ng Man-ho, a 27-year-old computer technician, was convicted last month of seven counts of incitement charges after he made use of the 100,000-member Chinese-language channel that he runs and manages to post "seditious messages," which had been shut down since August 2020. Private channels are only accessible to subscribers and don’t appear in public searches. To join a private channel, you need to receive a link from the owner (administrator). A private channel is an excellent solution for companies and teams. You can also use this type of channel to write down personal notes, reflections, etc. By the way, you can make your private channel public at any moment.
from us


Telegram Golang вопросы собеседований
FROM American