Re: crontab problem ?
On Tue, May 01, 2001 at 09:53:35PM +0200, Dominique Deleris wrote:
> I want to run a script, using the crontab facilites in debian : I
> have created a symbolic link to my administrative script in
> /etc/cron.weekly, but it seems to me that it is never triggered.
> Here is the ls for the symlink in /etc/cron.daily:
> lrwxrwxrwx 1 root root
> Here is the same information for the script itself, located in
> ~/bin of my normal user account:
> -rwxr--r-- 1 dod dod
I do not know the answer. Here is something you may want to try/read.
Script in crontab.weekly are run by root while your script has execution
bit only for dod. I will make it 755 file and see what happens.
But I do not understand why you want to run script in user account by
root. If script is for root put it in /etc/cron.daily and set file to
755 root:root just like other file.
If this is user script, then you need to read man 5 crontab and man 1
crontab. Basically set file crontab and run crontab. See also
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <email@example.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://www.aokiconsulting.com/quick/ +