Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I safely stop the Distributed Folding client via script, a command in a cron job, etc?

0
Posted

How do I safely stop the Distributed Folding client via script, a command in a cron job, etc?

0

Deleting the “foldtrajlite.lock” file will halt the Distributed Folding client safely after it finishes the current structure (it will try to upload the results to the server if you are online, as well). While this seems counter-intuitive (deleting a file to stop the client safely) it DOES work. The “foldtrajlite.lock” file is created when the DF client is executed and deleted when the client is properly shut-down. The existence of the “foldtrajlite.lock” file indicates that the DF client is either a) operating properly or b) was closed down improperly. Including a command to delete the “foldtrajlite.lock” file with whatever commands or scripts that you use to launch the DF client is a safe and reliable way to make sure that the client properly starts, even if it was shut down improperly.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123