Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: crontab

  1. #21
    Join Date
    Jan 2008
    Beans
    4,757

    Re: crontab

    Quote Originally Posted by frenchface View Post
    what idd the command do that you had me type in?
    Quote Originally Posted by tinivole View Post
    Code:
    0 * * * *   cd /var/www/cgi-bin/ && perl 0.pl
    Change Directory to the location of the perl scripts.
    If successful (return code 0, directory exists) then run the script given.


    Quote Originally Posted by tinivole View Post
    Then type in:
    Code:
    sudo chown $USERNAME:$USERNAME /var/www/cgi-bin
    Change the ownership and group ownership of the /var/www/cgi-bin directory (just the parent layer, not the subdirectories) from (what I presume must be) root to your username.

    Hopefully, the files will be saved now.

    Regards
    Iain

  2. #22
    Join Date
    May 2008
    Beans
    17

    Re: crontab

    i dont know if this is the problem but there is no root user, as in no one can log in as a root user, but there is a sudo command that i user, i'm a noob so i dont know if that would do anything or not, just throwing out a thought

  3. #23
    Join Date
    May 2008
    Beans
    17

    Re: crontab

    it is still not working, to run the script manually i have to tyep perl 0.pl so do we need to put perl 0.pl in the crontab?

  4. #24
    Join Date
    May 2008
    Beans
    17

    Re: crontab

    does the crontab have an error log that i can look at?

  5. #25
    Join Date
    May 2008
    Beans
    17

    Re: crontab

    i believe it is now working, i dont remember what i did for sure, but i believe it is now working, thakns for everyoenes help

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •