Last active
July 11, 2016 03:23
-
-
Save sujitmhj/dcbe1973118b516da3c0af316e274e4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you have Ubuntu based server | |
1) Run in console of the server | |
>> crontab -e | |
2) Then you will see list of cron job in a text editor, you need to add following line at the end | |
>> * * * * * cd <path to the file directory> && /usr/bin/python channel.py | |
Example: if your path is /srv/www/public_html/youtube/ | |
Then, you need to append following line and save it: | |
* * * * * cd /srv/www/public_html/youtube/ && /usr/bin/python channel.py | |
Then, channels will be created as /srv/www/public_html/youtube/channels.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment