0

I decided to make autorun through cron. In the terminal after writing crontab -e opens the editor in which i write

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=roma
HOME=/
*/1 * * * * root run-parts  /home/roma/autorun.sh

In the inside to autorun.sh it is written:

#!/bin/sh
cd image
mirage 8475.jpg

This script opens the image in the directory image

Then I save the file. I'm waiting about 1 minute, but nothing happens. What is the problem?

kek121
  • 1

0 Answers0