Asked by duncanb7
at 2024-03-17 08:01:02
Point:500 Replies:6 POST_ID:828572USER_ID:11059
Topic:
PHP Scripting Language;Linux;JavaScript
I switched to VPS hosting with Cpanel trial version. It means the Cpanel only have 15-day trial day for users. If keep using it, I need to apply Cpanel license.
Now I don't think I need Cpanel except its cron-job function.
So now I try run cron-job on linux command
by crontab -e
and then add my testing cron-job in the file such as follows
55 10 * * * php /home/myame/pubic_html/php/time.php >/home/,yname/public_html/php/time.log
Save the file and then crontab -e again, I can see my new testing cron-job
But I can NOT get the time.php running since I can NOT find out my time.log after
the cron-job schedule time. Why ?
How can I know my adding cron-job is running or NOT where log file will save the information about that cron-job done or not .
Please advise
Ducan
Now I don't think I need Cpanel except its cron-job function.
So now I try run cron-job on linux command
by crontab -e
and then add my testing cron-job in the file such as follows
55 10 * * * php /home/myame/pubic_html/php/time.php >/home/,yname/public_html/php/time.log
Save the file and then crontab -e again, I can see my new testing cron-job
But I can NOT get the time.php running since I can NOT find out my time.log after
the cron-job schedule time. Why ?
How can I know my adding cron-job is running or NOT where log file will save the information about that cron-job done or not .
Please advise
Ducan