https://bugzilla.wikimedia.org/show_bug.cgi?id=73256
Bug ID: 73256
Summary: Comment lines in crontab are modified if their first
characters are not '#'
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
tools.liangent-php@tools-login:~$ php $HOME/mw/maintenance/getText.php
--wiki=zhwiki 'User:Liangent-bot/crontab/liangent-php' | crontab -
NOTE: some crontab entries have been modified to grid submissions.
You may want to examine the result with 'crontab -e'.
tools.liangent-php@tools-login:~$ diff <(php $HOME/mw/maintenance/getText.php
--wiki=zhwiki 'User:Liangent-bot/crontab/liangent-php') <(crontab -l) -u
--- /dev/fd/63 2014-11-11 09:52:24.149593057 +0000
+++ /dev/fd/62 2014-11-11 09:52:24.149593057 +0000
@@ -1,4 +1,4 @@
- # sync: <code>php $HOME/mw/maintenance/getText.php --wiki=zhwiki
'{{FULLPAGENAME}}' | crontab -</code>
+ # sync: <code>php $HOME/mw/maintenance/getText.php --wiki=zhwiki
/usr/bin/jsub -N cron-tools.liangent-php-1 -once -quiet '{{FULLPAGENAME}}' |
crontab -</code>
# <syntaxhighlight lang="bash">
# Edit this file to introduce tasks to be run by cron.
#
tools.liangent-php@tools-login:~$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l