I created a perl script just to test, it's called "teste"
Expand|Select|Wrap|Line Numbers
- !/usr/bin/perl
- open(DATA,">>/home/joao/files/output");
- @Now = localtime(time);
- print DATA "@Now\n";
- exit ;
* * * * * /home/joao/files/teste
I uploaded the cron job with "crontab teste.cron"
Shouldn't this be writing the date and time every minute in the file "output"?
When I run my script manually it writes correctly in the file "output";
If I type "crontab -l" I can see my cron job loaded;
can somebody give me an hand?
thanks,
Joćo