Use linux shell to automatically pin and linux shell to pin
If I post a post on the Forum to ask something, once the post fails, it will sink in seconds, but I really don't want to go to the top all the time. What should I do? The following shows how to use shell crontab to implement automatic top-up.
I will not talk much about it. Take Douban as an example --
1:
Use chrome to open the Douban webpage:
2:
Right-click the review element or press F12 to open the review element interface:
3:
Just write something and click "add"
We can see that there are many links on the network interface of the review element. The most important thing is this add_comment:
4:
Right-click add_comment and select copy as cURL:
5:
Open notepad and paste:
6:
Open the shell and write the script file up. sh:
Vim up. sh
#! /Bin/bashcurl ...... // copy the content in notepad to this
Chmod + x up. sh
7:
Now you can execute the following script file to find another one on Douban:
Use crontab to implement timed Publishing
Set the verification code once every 50 minutes (because the Douban time is too short)
Vim crontab.txt */50 *****./up. shcrontab crontab.txt
View with crontab-l: