Quantcast
Channel: Programmer's Town - Unix
Viewing all articles
Browse latest Browse all 227

fdisk + crontab

$
0
0

I can not force  to run under crontab.
For example in sudo crontab-e I write
@reboot/home/user/1cron
Where 1cron looks so -
sudo/sbin/fdisk/dev/mmcblk0 </home/user/11cron
a 11cron looks so -
d
1
d
n
p
1
501760
w
If I launch 1cron simply since a line of the terminal all works. It picks up a file 11cron and a beret from it commands. But through  tried already many variants and it does nothing.
Itself  basically works others checkout  executes, but with 1cron any problem.
, a help!


Viewing all articles
Browse latest Browse all 227

Trending Articles