mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2018-10-31, 16:09   #1
Gerard
 
Gerard's Avatar
 
Oct 2018
Stem, NC (USA)

118 Posts
Question Startup Script

I recently downloaded the latest version available for a FreeBSD-11 64bit machine. The FreeBSD ports system only had a very old version available. Now, I was wondering if anyone has a suitable rc.d startup script for the mprime program. I am not very good at writting scripts myself.



Thanks!
Gerard is offline   Reply With Quote
Old 2018-10-31, 20:38   #2
irowiki
 
Sep 2018

3·23 Posts
Default

Do you have an /etc/crontab ?

If so, this works on CentOS and Debian, and may work for you.

Code:
@reboot root /root/mprime &

The first "root" is the user it is running under, and then the second one is the path. Adjust accordingly.


This claims the @reboot should work:

https://www.freebsd.org/cgi/man.cgi?crontab(5)

Last fiddled with by irowiki on 2018-10-31 at 20:39
irowiki is offline   Reply With Quote
Old 2018-11-01, 08:40   #3
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

12A016 Posts
Default

How about
Code:
@reboot username nohup /homedir/mprimedir/mprime > /dev/null 2>&1 &
ET_ is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
prime95 on UNRAID/startup script Unregistered Information & Answers 8 2011-06-25 04:04
Mprime startup in xubuntu BGK Software 5 2009-02-12 10:42
Help with Startup Script Proggie Software 1 2004-12-19 11:54
Linux Startup Unregistered Linux 4 2003-12-05 20:40
Problem with Prime95 on startup apocalypse Software 6 2003-10-21 22:18

All times are UTC. The time now is 00:28.

Sun Oct 25 00:28:21 UTC 2020 up 44 days, 21:39, 1 user, load averages: 1.61, 1.80, 1.89

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.