Last active
March 26, 2018 23:37
-
-
Save act65/c7a94cd2db582ab619c2e2b0ad42c67d to your computer and use it in GitHub Desktop.
automated screen capture
This file contains hidden or 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
#!/bin/bash | |
DATE=$(date +"%Y%m%d%H%M") | |
gnome-screenshot -f "/home/act65/repos/capture/images/$DATE.jpg" | |
# then add */2 * * * * /{path_to_this_file} to crontab using crontab -e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment