6
rated 0 times
[
6]
[
0]
/ answers: 1 / hits: 1392
/ 1 Year ago, mon, may 15, 2023, 11:11:04
I am writing a sh file to take screen short and want to schedule in crontab
but when i run the .sh file it run OK no problem happens but when try to schedule it in crontab i got an error like
import: unable to open X server `' @ error/import.c/ImportImageCommand/366.
my .sh file is like
#!/bin/bash
filename='ABC'
import -window root $HOME/Desktop/$filename.png
any idea how to solve it i tried with
which import
it is showing
/usr/bin/
More From » command-line