Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : cron job command not working in webuzo



Threaded Mode | Print  

 cron job command not working in webuzo, cron job not working (4 Replies, Read 28888 times)
sanrosihombing
Group: Member
Post Group: Newbie
Posts: 1
Status:
hello guest,
neet some help. i create cron job file using webuzo like this

exec("find /home/admin/www/asset/avatar/dummy -type f -exec chmod 0755 {} +");

exec('rm -rf /home/admin/www/asset/avatar/dummy/*');


if i run using SSH its working with this command
php -q /home/admin/www/asset/avatar/clear_dummy.php

but if i insert the command to webuzo cron joblike its not working. this is the command in webuzo cron job i had try :

*
                           
                       
                            *
                           
                       
                            *
                           
                       
                            *
                           
                       
                            *
                           
                       
                            php -q /home/admin/www/asset/avatar/clear_dummy.php

*
                           
                       
                            *
                           
                       
                            *
                           
                       
                            *
                           
                       
                            *
                           
                       
                            php -f /home/admin/www/asset/avatar/clear_dummy.php

i had open ticket but its so long to reply.

IP: --   

cron job command not working in webuzo
peopleinside
Group: Member
Post Group: Super Member
Posts: 1394
Status:

Open source, web and security passionate
Hi,
i am not expert in Cron jobs but if the Cron job are not correct will sure not work.

I use Cron Jobs on Webuzo and all is working.
Hope you will have a reply soon.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

cron job command not working in webuzo
webuzo_manager
Group: Member
Post Group: Elite Member
Posts: 268
Status:
Hi,

There is no such thing as CRON is not working, it's a system level utility which always runs no matter what the conditions are.

The main issue with CRON jobs are the permissions and the ownership of the file you want to execute and what's it's trying to do.

So anybody who faces an issue with CRON should execute the CRON via SSH as a Webuzo user and not a ROOT user(this is the most common mistake most of the users do as the CRON entered via Webuzo always runs as Webuzo user who is an unprivileged user)

Hope this helps.
IP: --   

cron job command not working in webuzo
adyoi
Group: Member
Post Group: Newbie
Posts: 24
Status:
same issue with user root
IP: --   

cron job command not working in webuzo
adyoi
Group: Member
Post Group: Newbie
Posts: 24
Status:

(Cron Daemon) <admin@xxxxxx.com>
13.00 (6 jam yang lalu)
ke saya

 
Terjemahkan pesan
Nonaktifkan untuk: Inggris
/bin/sh: exim: command not found
/bin/sh: exiqgrep: command not found
xargs: exim: No such file or directory
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 10:03 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.029