1

I want Transmission starts up everyday at 20:00 and start downloading the existent torrents.

3

Use Systemd Timers. These are a cron alternative that is provided by systemd. The linked wikipage provides information on how to use them.

  • 1
    A link to a potential solution is always welcome, but adding a small example here is always better. – zuazo Dec 15 '16 at 1:51
2

I found a solution:

Create a .service file under /etc/systemd/system directory

[Unit]
Description=some_script

[Service]
Type=simple
ExecStart=/home/user/scripts/some_script

Create a .timer file in the same directory as the .service file

[Unit]
Description=Runs some_script 5 mins after boot

[Timer]
OnBootSec=5min
Unit=some_script.service

[Install]
WantedBy=multi-user.target

Start and enable the .timer file

sudo systemctl start some_script.timer
sudo systemctl enable some_script.timer

I read this wiki page and this blog

  • I'd recommend enabling the service first and reloading the systemctl daemon via: sudo systemctl daemon-reload – l3x Nov 30 '18 at 1:10
-1

Use cron:

(crontab -l;echo "0 20 * * * transmission-daemon" ) | crontab
  • 3
    Note that there is no cron installed by default. Arch uses systemd-timers as the default scheduling tool. – jasonwryan Dec 15 '16 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.