Hi guys!
Consider the following PERL script,
Run on the command line it works no problem.
Run using crontab it doesn't work.
Where do I go to check errors from crontab?
I've read things about the cron ENVIRONMENT which I don't understand.
Could someone please explain to me what I need to know about crontab before I start using it?
crontab line looks like this:
Thanking you :)
Consider the following PERL script,
Code:
#!/usr/bin/perl
my $userID = `whoami`;
open(TMP, ">user.txt");
print TMP "$userID";
close(TMP);
Run using crontab it doesn't work.
Where do I go to check errors from crontab?
I've read things about the cron ENVIRONMENT which I don't understand.
Could someone please explain to me what I need to know about crontab before I start using it?
crontab line looks like this:
Code:
8 15 * * * /location/of/my/script/cronprob.pl