User Tools

Site Tools


special_emente

Table of Contents

Special Emente

  • Clear wiki cache → http://john.de-graaff.net/delete_cache_wiki_jdg.php
    > cat delete_cache_wiki_jdg.sh 
    #!/bin/bash
    # add in (visudo) /etc/sudoers: pureftp  ALL = NOPASSWD: /www/john.de-graaff.net/delete_cache_wiki_jdg.sh
    rm -rf /www/john.de-graaff.net/wiki/data/cache/*
    #
    #<?php
    #       $cmd="/www/john.de-graaff.net/delete_cache_wiki_jdg.sh";
    #       print "done! cmd:$cmd";
    #       system("sudo $cmd");
    #?>
/var/www/john.de-graaff.net/wiki/data/pages/special_emente.txt · Last modified: 2014/04/17 22:52 (external edit)