News:

If you have forgotten your password use your email address to reset HERE

Main Menu

Project Update

Started by Dingo, July 16, 2026, 01:20:53 AM

Dingo

I have crunched enough work now to Create the Team.  Join BOINC-AUSTRALIA if you run this non BOINC project.


Keep it running

On Linux, running the client as a systemd service keeps it running across reboots. Create a unit file at /etc/systemd/system/crunch.service:

[Unit]
Description=primecrunch client
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/path/to/crunch  ## CHANGE THIS
Restart=on-failure
User=yourlinuxusername  ## CHANGE THIS

[Install]
WantedBy=multi-user.target


Then enable and start it:

sudo systemctl enable --now crunch








Have a look at the BOINC@AUSTRALIA

Facebook Page and join and also the Twitter Page.

Proud Founder and member of BOINC@AUSTRALIA
My Luck Prime 2060937 digits.
Have a look at my  Web Cam of Parliament House Ottawa, CANADA

Dingo

#1
Instead of making it a service I found that putting an entry in the crontab.

process in a linux terminal

1. sudo crontab -e  # Note here r is next to e on the keyboard and if you press r instad of e (contab -r) it deletes the crontab which is not good.

2. put this entry after all the commented out section.
    @reboot /PATH/TO/crunch -p 4 &  ##  EG MINE IS  @reboot /root/PrimeCrunch/crunch -p 4 &

NOTE: The -p lets you assign how many cores not threads to use.  If left off it will use all cores.
NOTE:  If you forget the & cron will hang until crunch exits — which it never does.

That's it when you reboot or start the machine it will start crunch

If you use this and you want to stop the job from running use this command.

# Stop PrimeCrunch
pkill -f "/PATH/TO/crunch" 2>/dev/null

eg  mine is

pkill -f "/root/PrimeCrunch/crunch" 2>/dev/null







Have a look at the BOINC@AUSTRALIA

Facebook Page and join and also the Twitter Page.

Proud Founder and member of BOINC@AUSTRALIA
My Luck Prime 2060937 digits.
Have a look at my  Web Cam of Parliament House Ottawa, CANADA