Welcome Guest, Not a member yet? Register   Sign In
How to write a cronjob command
#1

[eluser]max123[/eluser]
I have written a cron job in cpanel and activated for each minute for testing. But I receive an email saying the 'No such file or directory' .

This is my path

php/home/mywebsite/public_html/seeker/function1/

'seeker' is the comtroller. 'What might be the reason
#2

[eluser]Mat-Moo[/eluser]
Use http://codeigniter.com/wiki/Cron_job_bootstrapper/
#3

[eluser]Zeeshan Rasool[/eluser]
Hi, few days ago i also did this job and i just made a php file in which i write all my functionality and upload it on root.
what i did
#4

[eluser]max123[/eluser]
Thanx all. I found another way to activate a cron job

wget -O - -q -t 1 http://www.domain.com/controller/function

this also works finely.
#5

[eluser]Zeeshan Rasool[/eluser]
hmmm informative !!




Theme © iAndrew 2016 - Forum software by © MyBB