here is the command i entered:
php-cron /home/user/public_html/domain.com/cron-ad-alert.php?pwd=password
Well, i replaced user with my userid, domain.com with my domain name and password with my actuall password. I had been trying my best to sort out this problem since 4 days but now i give up...