LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   crontab --u user file (https://www.linuxquestions.org/questions/linux-newbie-8/crontab-u-user-file-441266/)

binary_0011 05-03-2006 10:58 AM

crontab --u user file
 
i was reading a book and came accross this command. I check out the man page but I still dont understand :

So i do a :

crontab -u andrew file, then I am puzzled . What/where/how is this file located?

Thanks.

binary_0011 05-03-2006 11:03 AM

i guess i got it.

it is located at /var/spool/cron

if i want to edit andrew cron jobs, i do a :

crontab -u andrew -e

JJX 05-06-2006 05:14 AM

/var/spool/cron/crontabs/$user

crontab -u $user -e
or manually edit the file using your favorite editor ;)


All times are GMT -5. The time now is 04:28 PM.