[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problema creando un fichero encryptado con gpg con script puesto en el cron



El Viernes, 3 de Febrero de 2006 19:47, Iñaki escribió:
> Perdona que insista en esto, pero es que no me cuadra que te funcione una
> línea como la siguiente en el cron:
>
>    13 4 * * * /var/x_admin/integrity_check.php
>
> En todo caso debería ser:
>
>    13 4 * * * /usr/bin/php /var/x_admin/integrity_check.php
>
> ¿no?


si el archivo tiene permisos de ejecución, no
y en ese caso
* es un binario, o
* comienza con #!/ruta en la primera línea

biez!

-- 
We should be careful to get out of an experience only the wisdom that is
in it - and stay there, lest we be like the cat that sits down on a hot
stove-lid.  She will never sit down on a hot stove-lid again - and that
is well; but also she will never sit down on a cold one any more.
		-- Mark Twain

-- 
//
//Rober Morales Chaparro
//
#include /* RMC'05 */ <iostream>
class saludo { public: saludo(){
std::cout << "Hola"; } ~saludo()
{ std::cout << " Mundo!" ; } } ;
int main() { saludo holamundo; }



Reply to: