Am 25.08.2008 um 19:37 schrieb Benedikt Deicke:
Hallo Benedikt..
/usr/local/bin/softlimit -m 50000000 -o 100 -p 80 -t 180 && cd /home/
app/www.domain.de/current && /usr/local/bin/rake sessions:prune
RAILS_ENV=production
>> softlimit: usage: softlimit [-a allbytes] [-c corebytes] [-d
databytes] [-f filebytes] [-l lockbytes] [-m membytes] [-o openfiles]
[-p processes] [-r residentbytes] [-s stackbytes] [-t cpusecs] child
Gruß
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo Werner,
in der cron Anweisung steht
cd /home/app/www.domain.de/current; && RAILS_ENV=production rake
sessions:prune
Steht davor sonst nichts?
/bin/sh: -c: line 0: `/usr/local/bin/softlimit -m 50000000 -o 100
-p
80 -t 180 cd /home/app/www.domain.de/current; && RAILS_ENV=production
rake sessions:prune'
Hier sieht es so aus als würde davor noch der Aufruf von softlimit
stehen. Zwischen dem -t 180 und dem cd müsste dann auf jedenfall noch
ein && bzw. ein ;
Und zwar entweder das eine, oder das andere ... (auch zwischen current
und RAILS_ENV entweder ; oder && aber nicht beides)
Ich hoffe das löst's ... :)
Viele Grüße,
Benedikt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiy7fMACgkQOD/llH+o4kUiugCfVXnF1scXn4rJXlRFCA7l7JAV
Bc4An2MFOBnCcebUis4w1r3bJnu89ui8
=Zxa9
-----END PGP SIGNATURE-----
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug