copy and paste below code and save the file as any name you would like with the extension .sh
#!/bin/sh
import -window root -display :0 -crop 1024x768+25+25 \
"/path to store screenshot/$(date +%m.%d.%y_at_%H.%M.%S).png"
now move this file in /bin directory and set the scheduled task using cron. if you are using ubuntu you can use scheduled task application also.
auto screenshot,linux auto screenshot,linux screenshot,screenshot script linux,screenshot script
#!/bin/sh
import -window root -display :0 -crop 1024x768+25+25 \
"/path to store screenshot/$(date +%m.%d.%y_at_%H.%M.%S).png"
now move this file in /bin directory and set the scheduled task using cron. if you are using ubuntu you can use scheduled task application also.
No comments:
Post a Comment