Created
August 28, 2020 06:00
-
-
Save matoken/fe660695cdccdb00369a5164a2c2bd08 to your computer and use it in GitHub Desktop.
crontab -l | grep -v ^# | grep firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4,9,14,19,24,29,34,39,44,49,54,59 * * * * ps ux|grep firefox | grep headless | awk '{print $2}' | xargs kill | |
*/5 * * * * ~/go/bin/sysbox chronic firefox -p headless1 --headless --private-window --screenshot ~/tmp/A会場_`date +\%Y-\%m-\%d_\%T`.png "https://www.youtube.com/watch?v=eBhPRgsnPA0" | |
*/5 * * * * ~/go/bin/sysbox chronic firefox -p headless2 --headless --private-window --screenshot ~/tmp/B会場_`date +\%Y-\%m-\%d_\%T`.png "https://www.youtube.com/watch?v=r1JbktuBTK4" | |
*/5 * * * * ~/go/bin/sysbox chronic firefox -p headless3 --headless --private-window --screenshot ~/tmp/C会場_`date +\%Y-\%m-\%d_\%T`.png "https://www.youtube.com/watch?v=heVrxf8M1SU" | |
*/5 * * * * ~/go/bin/sysbox chronic firefox -p headless4 --headless --private-window --screenshot ~/tmp/D会場_`date +\%Y-\%m-\%d_\%T`.png "https://www.youtube.com/watch?v=NpBbhKh0lfI" | |
*/5 * * * * ~/go/bin/sysbox chronic firefox -p headless5 --headless --private-window --screenshot ~/tmp/NEC会場_`date +\%Y-\%m-\%d_\%T`.png "https://www.youtube.com/watch?v=wp9Xc_Ex67c" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment