• 24-07-2014, 01:01:31
    #1
    Selamlar arkadaşlar, bir script aldık, adamlar kurulumu vs yaptı sonrasında yapamadıkları bir kaç bir şey kalmış onları yapamadılar. Hostingin yapması gerekiyor falan demişler sanırım onu anladım az çok. Host Natro'da. Natro yazılım desteği veremediğini söyledi. Maili aynen yapıştırıyorum buraya. Hosting panelinde zamanlanmış görevler vs var. 1. maddedeki yapılması istenen şey sanırım veritabanıyla ilgili. mssql admine vs giriş yapabiliyorum. ordan mı bu sorguyu çalıştırmam gerekiyor bilemedim. Konu hakkında ücreti dahilinde yardımlarınızı bekliyorum...

    *1) You may ask your server team to set trigger in your server. I will
    paste the code for setting trigger below.*
    
    ​delimiter $$
    create trigger `adserver_parentstatus_updation` after update on
    `nesote_inoutscripts_users`
    for each row begin
    update `ppc_users` set parent_status = NEW.status where
    common_account_id=NEW.id;
    update `ppc_publishers` set parent_status = NEW.status where
    common_account_id=NEW.id;
    END;
    $$
    delimiter ;​
    
    
    You may please give this code to your server team and ask them to set the
    trigger in your database. Please paste this code in the SQL query inside
    your database and set the trigger. The server team can do this.
    
    We have tried and saw that the user have no permission to set the trigger.
    So please ask the server team to set the trigger using the above code. If
    they cannot do that then please ask them to give permission to the database
    user to set the trigger. Hopefully they can do it from their side surely.
    
    Please contact them and get this done and inform us the status.
    
    *2) Also you have to ask the server team to set the cron job also.*
    
    We have checked and noticed that we do not have the access to set the cron
    job. So you may please ask your server team to set the cron job in your
    server at a run frequency of once an hour. I will give you the command for
    setting cron job. Please ask the server team to do that.
    
    The command for setting cron is *php /absolute path/real path . *The cron
    should be set for a run frequency of once an hour .
    
    The absolute path you will get by invoking phpinfo.php in your browser and
    the real path you may find in the readMe.html file in side the package.
    
    For setting cron please follow the below command :
    
    *php /home/site.com/httpdocs/
    <http://site.com/httpdocs/>admin/adserver_cron.php
    <http://site.com/admin/adserver_cron.php>*
    
    Please ask the server team to set the cron job. Please set the cron job at
    a run frequency of once an hour.
  • 24-07-2014, 01:09:51
    #2
    Natro hosting panelinde cron job destegi yok diye biliyorum.
  • 25-07-2014, 20:49:32
    #3
    Natro hangi paneli kullanıyor bilemiyorum ama plesk veya cpanel ise işleminiz kolay olacaktır.
  • 26-07-2014, 03:44:01
    #4
    Cronjob yoksa bile cronjob hizmeti veren siteler var. Scriptin adresini yazarak planlayabiliyorsunuz.
  • 26-07-2014, 13:31:35
    #5
    loperselim adlı üyeden alıntı: mesajı görüntüle
    Selamlar arkadaşlar, bir script aldık, adamlar kurulumu vs yaptı sonrasında yapamadıkları bir kaç bir şey kalmış onları yapamadılar. Hostingin yapması gerekiyor falan demişler sanırım onu anladım az çok. Host Natro'da. Natro yazılım desteği veremediğini söyledi. Maili aynen yapıştırıyorum buraya. Hosting panelinde zamanlanmış görevler vs var. 1. maddedeki yapılması istenen şey sanırım veritabanıyla ilgili. mssql admine vs giriş yapabiliyorum. ordan mı bu sorguyu çalıştırmam gerekiyor bilemedim. Konu hakkında ücreti dahilinde yardımlarınızı bekliyorum...

    ...

    Merhabalar,

    Bu durumda Natro'dan talep edeceğiniz yardım yazılımsal/kod ile ilgili bir şey değil zamanlandırılmış görev/sunucu ile ilgili. Bunun en sık kullanılan yönetimi ilgili sitenin sunucusu üzerinden yapılmasıdır.

    Firma ismi fark etmeksizin eğer sadece hosting kullanıcısıysanız zamanlanmış görev ekleyemezsiniz, bunu hosting sağlayıcınıza belirtmeniz gerekir bu da firmaya göre değişen bir durumdur: sözleşmenizde madde olarak geçmesi gerekir ama %90 ihtimalle geçmiyordur.

    Bunun yerine VPS/VDS sahibi iseniz, sunucu yönetim paneli üzerinden doğrudan kendiniz yapabilirsiniz.

    Kolay gelsin.
  • 26-07-2014, 15:01:03
    #6
    dostlar cevaplar için teşekkürler. zamanlanmış görevler diye bir bölüm mevcut. ordan yaptım. madde 2 yi tamamladık diye düşünüyorum. ancak madde 1i nasıl yapacağız. veritabanına giriyorum. sorgu kodunu yapıştırıp sorgu yap diyorum olmuyor. Ona var mı acaba bir öneriniz.