I want a simple command mv ~/Downloads/*.torrent ~/Torrent-Backup/
to be run everytime the system starts up.
But though the commands works perfectly by itself, scheduling it as startup application does not work.
Please suggest.
I want a simple command mv ~/Downloads/*.torrent ~/Torrent-Backup/
to be run everytime the system starts up.
But though the commands works perfectly by itself, scheduling it as startup application does not work.
Please suggest.
When you set a command to be scheduled at startup, you should use full paths, not
~
:Replace
username
with your user name.Cron requires that the command have the absolute path
/bin/mv
.Furthermore, since your running this command on startup,
~
won't work either, because this point to the user's home directory. Use/home/user_name/Downloads
and/home/user_name/Torrent-Backup/
instead. Or run after logging in.