Folding at Home (F@H) on off hours

I wanted to only run the Folding at Home software during specific hours in the day. Here is how I accomplished that in Linux using cron: 

  1. You will need to have Folding @ Home running successfully. 
  2. You will need to have sudo rights for your user in Linux
  3. You will need to set up the cron task (this is using vi editor, I assume you know this)
    1. sudo crontab -e
  4. You will need to add these lines to cron file
    1. Stop F@H every weekday at 7AM
      1. 0 7 * * 1-5 /usr/bin/FAHClient --send-pause
    2. Start F@H every weekday at 6PM
      1. 0 18 * * 1-5 /usr/bin/FAHClient --send-unpause
  5. Save this file
  6. Reboot may be needed
My need for this was due to running this in my home office made the room very hot during my working hours. This helped with keeping room cooler while I was working from home, but was also able to help find a cure for Covid 19 at night. 

Hope this helps! 

Comments

Popular posts from this blog

Using MBR with older hardware and VMware ESXi 6.0 and 6.5

Ansible: Adding Ansible users and SSH without SSH keys

Getting Rancher LongHorn to work with RancherOS on vSphere