Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Alejandro on February 27, 2003, 04:55:58 PM
-
Have someone installed assp from sourceforge?
I need to automate /opt/assp/assp.pl to start with sme and keep up running even with reboot or after restoring my server, or updating packages.
Information in assp is general for *nix users, assp seems to be working fine exept some minor details i'm still tuning.
Do I need to setup some kind o cron job or made inclusions in local.rc?
I really don't know how to do one or the other,
Could someone help me about writing just the wright words at the right place?, I have read man pages for cron and e-smith's template procedure but I really dont know which way is best for this antispam solution.
very basic question, I told it was a newbie's one
Many thanks in advance
-
http://assp.sourceforge.net/asspdoc.htm#_Toc32976242
"In *nix you’ll need to create a cron job. Try 'man cron' if you don’t know how."
I'm not trying to be a jerk, but if you don't know how to add a command to start with the server, this may be a bit over your head.
If you want to run something at a certain interval, you can add a script with the command to /etc/cron.daily/ (or cron.weekly, cron.hourly, etc.). /etc/rc.local is where you add commands to be started with the server. It's not templated, so just edit the file and add your command at the end.
-
Bill Talcott wrote:
> I'm not trying to be a jerk, but if you don't know how to add
> a command to start with the server, this may be a bit over
> your head.
have you read all my post?
Of course there is a lot of things that are not only a bit but a lot over my head !!!!
I think this is the right place to learn things, many times you read a lot (man pages, templates procedures, assp documentation) and the only thing you need is a confirmation from people who have the experienceand knowledege that you have undertood something wright.. (it sounds like I'm describing a forum...;-) )
sorry for the basicness of my question, anyway
> /etc/rc.local is where you
> add commands to be started with the server. It's not
> templated, so just edit the file and add your command at the
> end.
this is the kind of confirmation I was asking for,
Maybe I should have asked " is the modification of /etc/rc.local templated?"
As you have noticed I'm not only a newbie but a foreign newbie so be patient please and sorry again.
many thanks
Alejandro
-
I understand, I'm a relative newbie as well. Sometimes there are just things that are too complex to do without a good understanding of how things work though. Didn't want to you get your server halfway hacked up, then realize that you didn't know how to finish it...
FYI, you can just look in /etc/e-smith/templates/ if you want to see if something is templated.
And you can use the /cron.____/ directories to add hourly/daily/weekly scripts. cron is basically set to execute the scripts in those directories at those intervals. Rather than adding the command to cron.d with all the time info, you can just put a script file in the right directory. cron will execute everything in that directory at the specified interval. Much easier, if you ask me.